From 26901322032c02effd058d53406e035e0983b68c Mon Sep 17 00:00:00 2001 From: Wildan M Date: Tue, 10 Mar 2026 17:12:57 +0700 Subject: [PATCH] Make lua dynamically linked --- recipes/dev/lua54/recipe.toml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/recipes/dev/lua54/recipe.toml b/recipes/dev/lua54/recipe.toml index ea9e54065..6ff71a4be 100644 --- a/recipes/dev/lua54/recipe.toml +++ b/recipes/dev/lua54/recipe.toml @@ -5,12 +5,13 @@ blake3 = "e51c2f347e3185479d5ff95cae8ac77511db486853269443c56bedaa0a6ae629" [build] template = "custom" script = """ +DYNAMIC_INIT rsync -av --delete "${COOKBOOK_SOURCE}/" ./ "${COOKBOOK_MAKE}" -j"${COOKBOOK_MAKE_JOBS}" posix \ - AR="${TARGET}-ar rcu" \ - CC="${CC_WRAPPER} ${TARGET}-gcc -std=gnu99" \ - RANLIB="${TARGET}-ranlib" \ - SYSLDFLAGS="-static" + AR="${AR} rcu" \ + CC="${CC} -std=gnu99" \ + RANLIB="${RANLIB}" \ + SYSLDFLAGS="$LDFLAGS" "${COOKBOOK_MAKE}" install INSTALL_TOP="${COOKBOOK_STAGE}" """