[openwrt/openwrt] lua: Forward LDFLAGS
LEDE Commits
lede-commits at lists.infradead.org
Tue Nov 18 14:14:45 PST 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/08997df4753470811829ea09eec7a5c3366aac63
commit 08997df4753470811829ea09eec7a5c3366aac63
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Nov 16 23:35:44 2025 +0100
lua: Forward LDFLAGS
Forward the TARGET_LDFLAGS to the linking process.
Link: https://github.com/openwrt/openwrt/pull/20813
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/utils/lua5.3/patches/020-shared_liblua.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/utils/lua5.3/patches/020-shared_liblua.patch b/package/utils/lua5.3/patches/020-shared_liblua.patch
index a462fa4f1e..66666133b6 100644
--- a/package/utils/lua5.3/patches/020-shared_liblua.patch
+++ b/package/utils/lua5.3/patches/020-shared_liblua.patch
@@ -304,7 +304,7 @@
-$(LUA_T): $(LUA_O) $(LUA_A)
- $(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
+$(LUA_SO): $(CORE_O) $(LIB_O)
-+ $(CC) -o $@ -Wl,-Bsymbolic-functions -shared -Wl,-soname="$@" $?
++ $(CC) -o $@ $(MYLDFLAGS) -Wl,-Bsymbolic-functions -shared -Wl,-soname="$@" $?
+ ln -fs $@ liblua$V.so.0.0
+ ln -fs $@ liblua$V.so.0
+ ln -fs $@ liblua$V.so
More information about the lede-commits
mailing list