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}" """