From 63289089e0ea551140f66f11ac3742d5ddf79168 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Fri, 28 Feb 2025 18:29:15 -0700 Subject: [PATCH] zlib: install to /usr --- recipes/libs/zlib/recipe.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/libs/zlib/recipe.toml b/recipes/libs/zlib/recipe.toml index 303801789..5d062709a 100644 --- a/recipes/libs/zlib/recipe.toml +++ b/recipes/libs/zlib/recipe.toml @@ -7,10 +7,10 @@ template = "custom" script = """ DYNAMIC_INIT # See https://stackoverflow.com/questions/21396988/zlib-build-not-configuring-properly-with-cross-compiler-ignores-ar. -CHOST="${TARGET}" "${COOKBOOK_CONFIGURE}" --prefix="" +CHOST="${TARGET}" "${COOKBOOK_CONFIGURE}" --prefix="/usr" "${COOKBOOK_MAKE}" -j "$(nproc)" "${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}" -patchelf --set-soname 'libz.so.1.3' "${COOKBOOK_STAGE}/lib/libz.so.1.3" +patchelf --set-soname 'libz.so.1.3' "${COOKBOOK_STAGE}/usr/lib/libz.so.1.3" """ [package]