resolveip: 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:12:50 +01:00
parent f95fd36a2e
commit 2fc6a143a7

View 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