resolveip: Forward LDFLAGS
authorHauke Mehrtens <[email protected]>
Sun, 16 Nov 2025 22:12:50 +0000 (23:12 +0100)
committerHauke Mehrtens <[email protected]>
Tue, 18 Nov 2025 22:13:45 +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/resolveip/Makefile

index ab5d4eada250a3651dfbab067c8d14844ec8800e..fb8d40619a8ca8dc36e21067d8eff2be0849b988 100644 (file)
@@ -29,7 +29,7 @@ define Package/resolveip/description
 endef
 
 define Build/Compile
-       $(TARGET_CC) $(TARGET_CFLAGS) -Wall \
+       $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -Wall \
                -o $(PKG_BUILD_DIR)/resolveip $(PKG_BUILD_DIR)/resolveip.c
 endef