summaryrefslogtreecommitdiff
path: root/x11/qt4-libs/patches/patch-ag
blob: bd98dd9863990f1f12cd99ec242eae3c6532293b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ag,v 1.11 2010/07/04 06:00:14 adam Exp $

--- qmake/project.cpp.orig	2010-06-02 02:03:09.000000000 +0000
+++ qmake/project.cpp
@@ -1614,6 +1614,9 @@ QMakeProject::isActiveConfig(const QStri
     if(isForSymbian() && (x == "symbian" || x == "unix"))
         return true;
 
+    if(x == "compile_libtool" && (vars["TEMPLATE"].first() == "app" || vars["TEMPLATE"].first() == "lib"))
+        return true;
+
     //mkspecs
     if((Option::target_mode == Option::TARG_MACX_MODE ||
         Option::target_mode == Option::TARG_UNIX_MODE) && x == "unix")