add workaround for llvm-config --system-libs
not handling static libs correctly
This commit is contained in:
parent
f9bf04c38b
commit
492821781d
|
@ -50,6 +50,9 @@ option(ZIG_FORCE_EXTERNAL_LLD "If your system has the LLD patches use it instead
|
||||||
find_package(llvm)
|
find_package(llvm)
|
||||||
find_package(clang)
|
find_package(clang)
|
||||||
|
|
||||||
|
# TODO fix https://github.com/ziglang/docker-zig/issues/7
|
||||||
|
list(REMOVE_ITEM LLVM_LIBRARIES "-l/deps/local/lib/libxml2.a")
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
find_library(LIBXML2 NAMES xml2 libxml2)
|
find_library(LIBXML2 NAMES xml2 libxml2)
|
||||||
if(${LIBXML2} STREQUAL "LIBXML2-NOTFOUND")
|
if(${LIBXML2} STREQUAL "LIBXML2-NOTFOUND")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user