summaryrefslogtreecommitdiff
path: root/mkspecs
diff options
context:
space:
mode:
authorMorten Sorvig <msorvig@trolltech.com>2011-05-11 15:19:24 +0200
committerMorten Sorvig <msorvig@trolltech.com>2011-05-11 15:20:18 +0200
commit387aac0e3a9e8fb5307c864d90cfe30d04101a92 (patch)
tree0401ae0f3461aea2663bb300ad19777a71d411f0 /mkspecs
parent47b36ae639ba61969b0190bc812c9508393c5ed5 (diff)
downloadqtbase-387aac0e3a9e8fb5307c864d90cfe30d04101a92.tar.gz
No -rpath-link on Mac.
Diffstat (limited to 'mkspecs')
-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