Don't use `lib64` dir for libxml2

Currently LLDB binaries as-is don't work, and this should fix them.
pull/617/head
Alex Crichton 6 months ago
parent d5030e3d63
commit 6c20d8be1a

@ -154,6 +154,12 @@ if(WASI_SDK_LLDB)
list(APPEND libxml_cmake_args -DLIBXML2_WITH_ICONV=OFF)
endif()
# Our AlmaLinux:8 container ends up using `lib64` instead of `lib` by default
# which doesn't match LLVM, so specifically use the same dir as LLVM.
if (CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
list(APPEND libxml_cmake_args -DCMAKE_INSTALL_LIBDIR=lib)
endif()
if (WASI_SDK_LIBXML2)
ExternalProject_Add(libxml2
URL https://download.gnome.org/sources/libxml2/2.15/libxml2-2.15.2.tar.xz

Loading…
Cancel
Save