Commit 60e84fba authored by Christian Stenger's avatar Christian Stenger Committed by Marco Bubke
Browse files

ClangBackend: Fix rpath for non-install builds on Linux



Change-Id: I3e2b87b1c8658f99889505ff9f801793f47c9d24
Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
parent 5e2942a5
......@@ -14,6 +14,7 @@ INCLUDEPATH += $$LLVM_INCLUDEPATH
SOURCES += clangbackendmain.cpp
osx {
QMAKE_LFLAGS += -Wl,-rpath,$${LLVM_LIBDIR}
unix {
!osx: QMAKE_LFLAGS += -Wl,-z,origin
QMAKE_LFLAGS += -Wl,-rpath,$$shell_quote($${LLVM_LIBDIR})
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment