diff options
author | Steven Barth <steven@midlink.org> | 2013-03-06 17:05:34 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-03-06 17:05:34 +0000 |
commit | bd1e6a2a715b34f7da323d2ecedc6cbb3b668c12 (patch) | |
tree | 169fedd3fc71e2e91c9f8eeb53ef4318265175bf /package/network/utils/iptables/patches/010-use-old-linking.patch | |
parent | d1312e89c72e970c87f627b21c5f084d2ef75069 (diff) | |
download | master-187ad058-bd1e6a2a715b34f7da323d2ecedc6cbb3b668c12.tar.gz master-187ad058-bd1e6a2a715b34f7da323d2ecedc6cbb3b668c12.tar.bz2 master-187ad058-bd1e6a2a715b34f7da323d2ecedc6cbb3b668c12.zip |
iptables: redo update to 1.4.18 with old linking-behaviour
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35896 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/iptables/patches/010-use-old-linking.patch')
-rw-r--r-- | package/network/utils/iptables/patches/010-use-old-linking.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/package/network/utils/iptables/patches/010-use-old-linking.patch b/package/network/utils/iptables/patches/010-use-old-linking.patch new file mode 100644 index 0000000000..a848e1e406 --- /dev/null +++ b/package/network/utils/iptables/patches/010-use-old-linking.patch @@ -0,0 +1,51 @@ +Index: iptables-1.4.18/extensions/GNUmakefile.in +=================================================================== +--- iptables-1.4.18.orig/extensions/GNUmakefile.in 2013-03-03 22:40:11.000000000 +0100 ++++ iptables-1.4.18/extensions/GNUmakefile.in 2013-03-06 17:13:04.074584735 +0100 +@@ -33,7 +33,6 @@ + AM_VERBOSE_CXXLD = @echo " CXXLD " $@; + AM_VERBOSE_AR = @echo " AR " $@; + AM_VERBOSE_GEN = @echo " GEN " $@; +-AM_VERBOSE_NULL = @ + endif + + # +@@ -76,7 +75,7 @@ + if test -n "${targets_install}"; then install -pm0755 $^ "${DESTDIR}${xtlibdir}/"; fi; + + clean: +- rm -f *.la *.o *.lo *.so *.a {matches,targets}.man initext.c initext4.c initext6.c; ++ rm -f *.o *.oo *.so *.a {matches,targets}.man initext.c initext4.c initext6.c; + rm -f .*.d .*.dd; + + distclean: clean +@@ -90,22 +89,19 @@ + # + # Shared libraries + # +-lib%.so: lib%.la +- ${AM_VERBOSE_NULL} ln -fs .libs/$@ $@ ++lib%.so: lib%.oo ++ ${AM_VERBOSE_CCLD} ${CCLD} ${AM_LDFLAGS} -shared ${LDFLAGS} -o $@ $< -L../libxtables/.libs -L../libiptc/.libs -lxtables ${$*_LIBADD}; + +-lib%.la: lib%.lo +- ${AM_VERBOSE_CCLD} ../libtool ${AM_LIBTOOL_SILENT} --tag=CC --mode=link ${CCLD} ${AM_LDFLAGS} -module ${LDFLAGS} -o $@ $< ../libxtables/libxtables.la ${$*_LIBADD} -rpath ${xtlibdir} +- +-lib%.lo: ${srcdir}/lib%.c +- ${AM_VERBOSE_CC} ../libtool ${AM_LIBTOOL_SILENT} --tag=CC --mode=compile ${CC} ${AM_CPPFLAGS} ${AM_DEPFLAGS} ${AM_CFLAGS} -D_INIT=lib$*_init ${CFLAGS} -o $@ -c $< ++lib%.oo: ${srcdir}/lib%.c ++ ${AM_VERBOSE_CC} ${CC} ${AM_CPPFLAGS} ${AM_DEPFLAGS} ${AM_CFLAGS} -D_INIT=lib$*_init -DPIC -fPIC ${CFLAGS} -o $@ -c $<; + + libxt_NOTRACK.so: libxt_CT.so +- ${AM_VERBOSE_GEN} ln -fs $< $@ ++ ln -fs $< $@ + libxt_state.so: libxt_conntrack.so +- ${AM_VERBOSE_GEN} ln -fs $< $@ ++ ln -fs $< $@ + + # Need the LIBADDs in iptables/Makefile.am too for libxtables_la_LIBADD +-ip6t_NETMAP_LIBADD = ../libiptc/libip6tc.la ++ip6t_NETMAP_LIBADD = -lip6tc + xt_RATEEST_LIBADD = -lm + xt_statistic_LIBADD = -lm + |