forked from qt-creator/qt-creator
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:
committed by
Marco Bubke
parent
5e2942a5bd
commit
60e84fbaf4
@@ -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})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user