X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=openwrt%2Fpackage%2Fportmap%2FMakefile;fp=openwrt%2Fpackage%2Fportmap%2FMakefile;h=5dd79f9a50ec557781a5a86dd4a177702cf6f573;hb=c94912c43dcba7eb84fab6b787c06ad77e8f67c0;hp=3c8f5d20cdc1111aea829aec6f71e7b8d8c5183c;hpb=1878c4f47d53e5b38efd90715eedf6edbe8ef884;p=openwrt.git diff --git a/openwrt/package/portmap/Makefile b/openwrt/package/portmap/Makefile index 3c8f5d20cd..5dd79f9a50 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):