summaryrefslogtreecommitdiff
path: root/include.pro
Side-by-side diff
Diffstat (limited to 'include.pro') (more/less context) (ignore whitespace changes)
-rw-r--r--include.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/include.pro b/include.pro
index 56f588e..203f6c3 100644
--- a/include.pro
+++ b/include.pro
@@ -114,9 +114,9 @@ contains( CONFTEST, y ){
LIBS += -lqpe
}
}
else {
-QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib
+QMAKE_LFLAGS += -Wl,-rpath-link,$$prefix/lib
# I am not sure whether it is a good idea to change the way plugins is build
# on linux. Therefore I remove the "plugin" term, which is needed by MacOS-X
CONFIG -= plugin
}