summaryrefslogtreecommitdiff
path: root/openwrt/package/portmap
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-21 16:07:58 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-21 16:07:58 +0000
commite84cb0225c9a2cddecf99d5d6f7a14db57eca4f7 (patch)
tree4534b0385fe888073cee22cfacf4445421b85e85 /openwrt/package/portmap
parent1176df52dcb9dc45cc36cfdb380799cc7b142981 (diff)
downloadmtk-20170518-e84cb0225c9a2cddecf99d5d6f7a14db57eca4f7.zip
mtk-20170518-e84cb0225c9a2cddecf99d5d6f7a14db57eca4f7.tar.gz
mtk-20170518-e84cb0225c9a2cddecf99d5d6f7a14db57eca4f7.tar.bz2
Search libwrap in STAGING_DIR/usr
SVN-Revision: 1010
Diffstat (limited to 'openwrt/package/portmap')
-rw-r--r--openwrt/package/portmap/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/openwrt/package/portmap/Makefile b/openwrt/package/portmap/Makefile
index 3c8f5d2..5dd79f9 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):