Don't use `lib64` dir for libxml2 (#617)

Currently LLDB binaries as-is don't work, and this should fix them.
main wasi-sdk-32
Alex Crichton 3 days ago committed by GitHub
parent cc5c4c98d7
commit 249054e542
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -173,6 +173,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