changeset 6910:d02fb20863e1

build-zstd: Install libraries in "lib" directory. * src/build-zstd.mk: Explicitly set CMAKE_INSTALL_LIBDIR to "lib" in configuration. The CMake toolchain files haven't been created yet when build tools are built. So, we can't rely on them.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 05 Oct 2023 19:17:09 +0200
parents 3b64213a99e9
children 76ff59523b29
files src/build-zstd.mk
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/build-zstd.mk	Thu Oct 05 19:13:40 2023 +0200
+++ b/src/build-zstd.mk	Thu Oct 05 19:17:09 2023 +0200
@@ -24,6 +24,7 @@
     $($(PKG)_CMAKE_FLAGS) \
     $(CMAKE_CCACHE_FLAGS) \
     -DCMAKE_INSTALL_PREFIX='$(3)$(BUILD_TOOLS_PREFIX)' \
+    -DCMAKE_INSTALL_LIBDIR='lib' \
     -DBUILD_TESTING=Off
 
   cmake --build '$(1)/.build' -j '$(JOBS)'