summaryrefslogtreecommitdiff
path: root/tests/auto/qttestrpath.pri
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qttestrpath.pri')
-rw-r--r--tests/auto/qttestrpath.pri4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qttestrpath.pri b/tests/auto/qttestrpath.pri
index bd65a2f3ef..d69f084db0 100644
--- a/tests/auto/qttestrpath.pri
+++ b/tests/auto/qttestrpath.pri
@@ -1,11 +1,11 @@
linux-* {
- QMAKE_RPATHDIR += $$IDE_BUILD_TREE/$$IDE_LIBRARY_BASENAME/qtcreator
+ QMAKE_RPATHDIR += $$IDE_LIBRARY_PATH
QMAKE_RPATHDIR += $$IDE_PLUGIN_PATH
IDE_PLUGIN_RPATH = $$join(QMAKE_RPATHDIR, ":")
QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$${IDE_PLUGIN_RPATH}\'
} else:macx {
- QMAKE_LFLAGS += -Wl,-rpath,\"$$IDE_BIN_PATH/../\"
+ QMAKE_LFLAGS += -Wl,-rpath,\"$$IDE_LIBRARY_PATH\",-rpath,\"$$IDE_PLUGIN_PATH\"
}