lua5.3: Add TARGET_LDFLAGS to MYLDFLAGS
authorJonathan Luijsmans <[email protected]>
Tue, 4 Nov 2025 16:01:11 +0000 (17:01 +0100)
committerHauke Mehrtens <[email protected]>
Sun, 16 Nov 2025 20:34:08 +0000 (21:34 +0100)
Add TARGET_LDFLAGS to MYLDFLAGS make sure that the required flags are used
during the compilation.

Signed-off-by: Jonathan Luijsmans <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20642
Signed-off-by: Hauke Mehrtens <[email protected]>
package/utils/lua5.3/Makefile

index 405fa901455fe677932c7c9638cfa0fc0c0b44a5..db97c69d6e97f6f2cd22f263a0d477189205f6a9 100644 (file)
@@ -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)