add qmake rpath for linux build

This commit is contained in:
Jaquee
2016-12-22 18:23:25 +01:00
parent 7555502d64
commit f45099b398
2 changed files with 6 additions and 1 deletions

View File

@@ -151,6 +151,11 @@ linux {
message(Building with libunwind)
LIBS += -Wl,-Bdynamic -lunwind
}
QMAKE_LFLAGS_RPATH=
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN/libs\'"
}
macx {