Search libwrap in STAGING_DIR/usr
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 21 May 2005 16:07:58 +0000 (16:07 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 21 May 2005 16:07:58 +0000 (16:07 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1010 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/portmap/Makefile

index 3c8f5d2..5dd79f9 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):
This page took 0.02665 seconds and 4 git commands to generate.