summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_functions.prf
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@nokia.com>2011-06-20 11:58:46 +0200
committerQt Continuous Integration System <qt-info@nokia.com>2011-06-20 18:15:38 +0200
commit8c680aceaa0e1f132501ad15c48bc549fd3fd39d (patch)
tree363740077d3ff7a5f0a08995c82b83ea90279990 /mkspecs/features/qt_functions.prf
parent26877d990b5f0c242448690ca957e98d64ae40e3 (diff)
Support -debug build on Mac
-Wl,-rpath-link is expected to work for all gcc except mac. Change-Id: I4b57e0088db49a8e35840d981e5d6edbb1012396 Reviewed-on: http://codereview.qt.nokia.com/506 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'mkspecs/features/qt_functions.prf')
-rw-r--r--mkspecs/features/qt_functions.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
index 50a85d86ce..86d80cb239 100644
--- a/mkspecs/features/qt_functions.prf
+++ b/mkspecs/features/qt_functions.prf
@@ -142,7 +142,7 @@ defineTest(qtAddModule) {
# Make sure we can link to uninstalled libraries
!isEqual(MODULE_LIBS, $[QT_INSTALL_LIBS]) {
QMAKE_LIBDIR *= $$MODULE_LIBS
- unix:QMAKE_LFLAGS *= "-Wl,-rpath-link,$$MODULE_LIBS"
+ unix:!mac:QMAKE_LFLAGS *= "-Wl,-rpath-link,$$MODULE_LIBS"
}
if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
win32:LINKAGE = -l$${MODULE_NAME}$${QT_LIBINFIX}d