X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ecdc8bd6717059d3cce793e829a55ef3e474104b..1c79b1465da207c0d60b866b7fe991a5e1a7b8ce:/openwrt/package/portmap/Makefile?ds=sidebyside diff --git a/openwrt/package/portmap/Makefile b/openwrt/package/portmap/Makefile index 3c8f5d20c..5dd79f9a5 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):