summaryrefslogtreecommitdiff
path: root/package/portmap/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-21 16:07:58 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-21 16:07:58 +0000
commit74bdefe48ce2242dd72bc18a0123b2fcc2eb6118 (patch)
tree1689991c70f3010d68806c532c73577fbd06ffae /package/portmap/Makefile
parente3bacca862168b6bfe1b50b6825038337f2e2d94 (diff)
Search libwrap in STAGING_DIR/usr
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1010 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/portmap/Makefile')
-rw-r--r--package/portmap/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/portmap/Makefile b/package/portmap/Makefile
index 3c8f5d20cd..5dd79f9a50 100644
--- a/package/portmap/Makefile
+++ b/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):