diff options
| author | JackBoosY <47264268+JackBoosY@users.noreply.github.com> | 2019-09-17 06:13:12 +0800 |
|---|---|---|
| committer | Curtis J Bezault <curtbezault@gmail.com> | 2019-09-16 15:13:12 -0700 |
| commit | 27cee9886af91dc1fe6249ef52367cc48b92a921 (patch) | |
| tree | 5da7f9a3a9d4742621269900e66d10fea51cd559 /ports/llvm/fix-linux-build.patch | |
| parent | 741106fa23dc027c9bd1584f1c92d5f53bea7234 (diff) | |
| download | vcpkg-27cee9886af91dc1fe6249ef52367cc48b92a921.tar.gz vcpkg-27cee9886af91dc1fe6249ef52367cc48b92a921.zip | |
[llvm]Fix build error on Linux: cannot find -lxml2. (#7919)
Diffstat (limited to 'ports/llvm/fix-linux-build.patch')
| -rw-r--r-- | ports/llvm/fix-linux-build.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/llvm/fix-linux-build.patch b/ports/llvm/fix-linux-build.patch new file mode 100644 index 000000000..780ea6535 --- /dev/null +++ b/ports/llvm/fix-linux-build.patch @@ -0,0 +1,13 @@ +diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake +index 900c35e..78fd3cd 100644 +--- a/cmake/config-ix.cmake ++++ b/cmake/config-ix.cmake +@@ -154,7 +154,7 @@ if(NOT LLVM_USE_SANITIZER MATCHES "Memory.*") + else() + include_directories(${LIBXML2_INCLUDE_DIR}) + endif() +- set(LIBXML2_LIBS "xml2") ++ set(LIBXML2_LIBS ${LIBXML2_LIBRARIES}) + endif() + endif() + endif() |
