Search libwrap in STAGING_DIR/usr
authorNicolas Thill <nico@openwrt.org>
Sat, 21 May 2005 16:07:58 +0000 (16:07 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 21 May 2005 16:07:58 +0000 (16:07 +0000)
SVN-Revision: 1010

openwrt/package/portmap/Makefile

index 3c8f5d20cdc1111aea829aec6f71e7b8d8c5183c..5dd79f9a50ec557781a5a86dd4a177702cf6f573 100644 (file)
@@ -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):