Commit f3ff4ba3 authored by Nikita Baryshnikov's avatar Nikita Baryshnikov
Browse files

Clang: fix compile error

avoid adding -L/usr/lib to linker options. To avoid linker errors with
Qt from system and from own toolchain.

Change-Id: I291943e6b17c2bf17eb0700b0fc0cda435588ad5
Reviewed-by: default avatarOswald Buddenhagen <>
Reviewed-by: default avatarEike Ziller <>
Reviewed-by: default avatarNikolai Kosjar <>
parent 182bd0b3
......@@ -93,7 +93,8 @@ unix {
clang_lib = $$findClangLibInLibDir($$LLVM_LIBDIR)
isEmpty(clang_lib): error("Cannot find Clang shared library in $$LLVM_LIBDIR")
LLVM_LIBS = -L$${LLVM_LIBDIR} -l$${clang_lib}
LLVM_LIBS += -l$${clang_lib}
isEmpty(LLVM_VERSION): error("Cannot determine clang version at $$LLVM_INSTALL_DIR")
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