From: Nicolas Thill Date: Sat, 21 May 2005 16:07:58 +0000 (+0000) Subject: Search libwrap in STAGING_DIR/usr X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=f4201d50ea779f02ad0d0e7ca4c53b889376e440;p=15.05%2Fopenwrt.git Search libwrap in STAGING_DIR/usr git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1010 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/openwrt/package/portmap/Makefile b/openwrt/package/portmap/Makefile index 3c8f5d20cd..5dd79f9a50 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):