etherwake: respect LDFLAGS

Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
This commit is contained in:
Alexander Ryzhov 2015-12-06 08:35:06 -05:00
parent 15ea770194
commit a93cbf84db

View file

@ -36,7 +36,7 @@ define Package/etherwake/description
endef
define Build/Compile
$(TARGET_CC) $(TARGET_CFLAGS) -D__UCLIBC__ $(PKG_BUILD_DIR)/ether-wake.c -o $(PKG_BUILD_DIR)/etherwake
$(TARGET_CC) $(TARGET_CFLAGS) -D__UCLIBC__ $(TARGET_LDFLAGS) $(PKG_BUILD_DIR)/ether-wake.c -o $(PKG_BUILD_DIR)/etherwake
endef
define Package/etherwake/install