summaryrefslogtreecommitdiffstats
path: root/mkspecs/common/unix.conf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-07-12 09:38:44 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-12 10:40:50 +0200
commit079a87fec1baccf663d14aa8bb9eb3271efd7616 (patch)
treeed2827c96a4e088164a5969f5210b296ab6e3ee2 /mkspecs/common/unix.conf
parentf45c62023d86609f8ce65ecda01f2e26bba12ee5 (diff)
make the prl lookup search in standard locations
qtAddModule() skips adding standard library paths to LIBS. however, as processPrlFiles() didn't know anything about that, it would not find the prl files of qt libraries in these paths. so centralize the definition of these default paths (we should actually ask the linker for them) and use it in both places. do the same for the include paths for symmetry. Change-Id: I7e3692dc2d1c2d0c97a9151d15887b1263de137a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'mkspecs/common/unix.conf')
-rw-r--r--mkspecs/common/unix.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkspecs/common/unix.conf b/mkspecs/common/unix.conf
index 9ee626562b..5bbc25bb1d 100644
--- a/mkspecs/common/unix.conf
+++ b/mkspecs/common/unix.conf
@@ -13,4 +13,7 @@ QMAKE_PREFIX_SHLIB = lib
QMAKE_PREFIX_STATICLIB = lib
QMAKE_EXTENSION_STATICLIB = a
+QMAKE_DEFAULT_INCDIRS = /usr/include /usr/local/include
+QMAKE_DEFAULT_LIBDIRS = /usr/lib /usr/local/lib
+
include(shell-unix.conf)