Forward the TARGET_LDFLAGS to the linking process. Link: https://github.com/openwrt/openwrt/pull/20813 Signed-off-by: Hauke Mehrtens <[email protected]>
@@ -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