Browse Source

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20642
Signed-off-by: Hauke Mehrtens <[email protected]>
Jonathan Luijsmans 2 months ago
parent
commit
8afdc50092
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/utils/lua5.3/Makefile

+ 1 - 0
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)