From ebfbfde5320abadd275a0e0ed28824692429e93b Mon Sep 17 00:00:00 2001 From: Anhad Singh Date: Fri, 27 Dec 2024 00:33:21 +1100 Subject: [PATCH] feat(zlib): dynamic Signed-off-by: Anhad Singh --- recipes/libs/zlib/recipe.toml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/recipes/libs/zlib/recipe.toml b/recipes/libs/zlib/recipe.toml index 8e9a8709f..fe1fc8390 100644 --- a/recipes/libs/zlib/recipe.toml +++ b/recipes/libs/zlib/recipe.toml @@ -4,11 +4,10 @@ blake3 = "ec1abc6f672a7a6ee6f49ba544cc9529f73121b478310473be44fee22a140ebf" [build] template = "custom" script = """ - export LDFLAGS="--static" + DYNAMIC_INIT # See https://stackoverflow.com/questions/21396988/zlib-build-not-configuring-properly-with-cross-compiler-ignores-ar. - CHOST="${TARGET}" "${COOKBOOK_CONFIGURE}" \ - --prefix="" \ - --static + CHOST="${TARGET}" "${COOKBOOK_CONFIGURE}" --prefix="" "${COOKBOOK_MAKE}" -j "$(nproc)" "${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}" """ +