[openwrt/openwrt] lua5.3: Add TARGET_LDFLAGS to MYLDFLAGS

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 16 12:34:47 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/8afdc500928f1145be436583154fe0ce2abc934f

commit 8afdc500928f1145be436583154fe0ce2abc934f
Author: Jonathan Luijsmans <jonathan.luijsmans_ext at softathome.com>
AuthorDate: Tue Nov 4 17:01:11 2025 +0100

    lua5.3: Add TARGET_LDFLAGS to MYLDFLAGS
    
    Add TARGET_LDFLAGS to MYLDFLAGS make sure that the required flags are used
    during the compilation.
    
    Signed-off-by: Jonathan Luijsmans <jonathan.luijsmans_ext at softathome.com>
    Link: https://github.com/openwrt/openwrt/pull/20642
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/utils/lua5.3/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/utils/lua5.3/Makefile b/package/utils/lua5.3/Makefile
index 405fa90145..db97c69d6e 100644
--- a/package/utils/lua5.3/Makefile
+++ b/package/utils/lua5.3/Makefile
@@ -86,6 +86,7 @@ define Build/Compile
 		RANLIB="$(TARGET_CROSS)ranlib" \
 		INSTALL_ROOT=/usr \
 		CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \
+		MYLDFLAGS="$(TARGET_LDFLAGS)" \
 		PKG_VERSION=$(PKG_VERSION) \
 		linux
 	rm -rf $(PKG_INSTALL_DIR)




More information about the lede-commits mailing list