From e84cb0225c9a2cddecf99d5d6f7a14db57eca4f7 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sat, 21 May 2005 16:07:58 +0000 Subject: [PATCH] Search libwrap in STAGING_DIR/usr SVN-Revision: 1010 --- openwrt/package/portmap/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openwrt/package/portmap/Makefile b/openwrt/package/portmap/Makefile index 3c8f5d20cdc..5dd79f9a50e 100644 --- a/openwrt/package/portmap/Makefile +++ b/openwrt/package/portmap/Makefile @@ -25,7 +25,9 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.built: $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) -DHOSTS_ACCESS -DFACILITY=LOG_DAEMON -DIGNORE_SIGCHLD" all + CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -DHOSTS_ACCESS -DFACILITY=LOG_DAEMON -DIGNORE_SIGCHLD" \ + WRAP_LIB="-L$(STAGING_DIR)/usr/lib -lwrap" \ + all touch $@ $(IPKG_PORTMAP): -- 2.30.2