wireless-tools: Forward LDFLAGS
authorHauke Mehrtens <[email protected]>
Sun, 16 Nov 2025 22:25:19 +0000 (23:25 +0100)
committerHauke Mehrtens <[email protected]>
Tue, 18 Nov 2025 22:13:46 +0000 (23:13 +0100)
Forward the TARGET_LDFLAGS to the linking process.

Link: https://github.com/openwrt/openwrt/pull/20813
Signed-off-by: Hauke Mehrtens <[email protected]>
package/network/utils/wireless-tools/Makefile

index 6ac66a056a016f1fb2160027d11f60c284af5895..9a19970af8dc660755ab56b4a98f95ffbf21dc45 100644 (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