Changeset 3586


Ignore:
Timestamp:
2006-04-02T23:59:18+02:00 (12 years ago)
Author:
nbd
Message:

map xt_ to ipt_ for iptables modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/package/iptables/Makefile

    r3448 r3586  
    2222$$(IPKG_$(1)): 
    2323        install -m0755 -d $$(IDIR_$(1))/usr/lib/iptables 
    24         for m in $(2); do \ 
     24        for m in $$(patsubst xt_%,ipt_%,$(2)); do \ 
    2525                $(CP) $(PKG_INSTALL_DIR)/usr/lib/iptables/lib$$$${m}.so $$(IDIR_$(1))/usr/lib/iptables/ ; \ 
    2626        done 
     
    7777        install -d -m0755 $(IDIR_IPTABLES)/usr/lib/iptables 
    7878        (cd $(PKG_INSTALL_DIR)/usr/lib/iptables ; \ 
    79                 $(CP) $(patsubst %,lib%.so,$(IPT_BUILTIN)) $(IDIR_IPTABLES)/usr/lib/iptables/ \ 
     79                $(CP) $(patsubst %,lib%.so,$(IPT_BUILTIN:xt_%=ipt_%)) $(IDIR_IPTABLES)/usr/lib/iptables/ \ 
    8080        ) 
    8181        $(RSTRIP) $(IDIR_IPTABLES) 
Note: See TracChangeset for help on using the changeset viewer.