wireless-tools: Forward LDFLAGS

Forward the TARGET_LDFLAGS to the linking process.

Link: https://github.com/openwrt/openwrt/pull/20813
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2025-11-16 23:25:19 +01:00
parent 51ab518bf9
commit 18cad16f5b

View File

@ -60,6 +60,7 @@ define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -I." \
LDFLAGS="$(TARGET_LDFLAGS)" \
BUILD_WE_ESSENTIAL=y \
LIBS="-lm -Wl,--gc-sections" \
libiw.so.$(PKG_VERSION) iwmulticall