diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-04-02 21:59:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-04-02 21:59:18 +0000 |
commit | c8892f410e533d04ded4f46c06c3c117ffd33e4e (patch) | |
tree | 369847b85686d2ff87ae6cbd17059c4e509f0dff /package/iptables | |
parent | 2aa38ebb62cae76bd5e4dec6cefc7d2597591638 (diff) | |
download | master-187ad058-c8892f410e533d04ded4f46c06c3c117ffd33e4e.tar.gz master-187ad058-c8892f410e533d04ded4f46c06c3c117ffd33e4e.tar.bz2 master-187ad058-c8892f410e533d04ded4f46c06c3c117ffd33e4e.zip |
map xt_ to ipt_ for iptables modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3586 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables')
-rw-r--r-- | package/iptables/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile index 38eb907183..298a9a9e0f 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -21,7 +21,7 @@ define IPKG_plugin_template $$(IPKG_$(1)): install -m0755 -d $$(IDIR_$(1))/usr/lib/iptables - for m in $(2); do \ + for m in $$(patsubst xt_%,ipt_%,$(2)); do \ $(CP) $(PKG_INSTALL_DIR)/usr/lib/iptables/lib$$$${m}.so $$(IDIR_$(1))/usr/lib/iptables/ ; \ done @[ -z "$(3)" ] || $(MAKE) $(3) @@ -76,7 +76,7 @@ $(IPKG_IPTABLES): $(CP) $(PKG_INSTALL_DIR)/usr/sbin/iptables $(IDIR_IPTABLES)/usr/sbin/ install -d -m0755 $(IDIR_IPTABLES)/usr/lib/iptables (cd $(PKG_INSTALL_DIR)/usr/lib/iptables ; \ - $(CP) $(patsubst %,lib%.so,$(IPT_BUILTIN)) $(IDIR_IPTABLES)/usr/lib/iptables/ \ + $(CP) $(patsubst %,lib%.so,$(IPT_BUILTIN:xt_%=ipt_%)) $(IDIR_IPTABLES)/usr/lib/iptables/ \ ) $(RSTRIP) $(IDIR_IPTABLES) $(IPKG_BUILD) $(IDIR_IPTABLES) $(PACKAGE_DIR) |