ClangBackend: Fix rpath for non-install builds on Linux

Change-Id: I3e2b87b1c8658f99889505ff9f801793f47c9d24
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
Christian Stenger
2015-07-01 09:13:02 +02:00
committed by Marco Bubke
parent 5e2942a5bd
commit 60e84fbaf4

View File

@@ -14,6 +14,7 @@ INCLUDEPATH += $$LLVM_INCLUDEPATH
SOURCES += clangbackendmain.cpp SOURCES += clangbackendmain.cpp
osx { unix {
QMAKE_LFLAGS += -Wl,-rpath,$${LLVM_LIBDIR} !osx: QMAKE_LFLAGS += -Wl,-z,origin
QMAKE_LFLAGS += -Wl,-rpath,$$shell_quote($${LLVM_LIBDIR})
} }