Revert "iptables: fix dependency for libip6tc on IPV6"
authorPetr Štetiar <ynezz@true.cz>
Fri, 9 Nov 2018 11:09:29 +0000 (12:09 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Sat, 10 Nov 2018 17:50:29 +0000 (18:50 +0100)
commit1b4b942bcef8638a040788ab9ae94c66e38fd960
tree60a65171bbf1a14cee1f4e43bf21cf5632000592
parent5617e138bdaff94587d700def3d74e81c5b2db19
Revert "iptables: fix dependency for libip6tc on IPV6"

This patch reverts commit 2dc1f54b1205094e7c6036cae6275d2c326bad3e as it
breaks the build for me on x86-64 if I've IPV6 support disabled. Same config
builds fine on `openwrt-18.06` branch at 55d078b2.

  $ grep IPV6 .config

  # CONFIG_KERNEL_IPV6 is not set
  # CONFIG_IPV6 is not set

Build errors out on:

  Package libiptc is missing dependencies for the following libraries:
  libip6tc.so.0

Looking at iptables-1.6.2/libiptc/Makefile.am:

  libiptc_la_LIBADD   = libip4tc.la libip6tc.la

and to iptables-1.6.2/libiptc/libiptc.pc.in:

  Requires: libip4tc libip6tc

It seems that libiptc needs v4/v6 libs, so v6 isn't optional.

Cc: Rosy Song <rosysong@rosinson.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
package/network/utils/iptables/Makefile