Hi,

this patch fixes the iptables build if no extensions are selected (e.g. when 
building only as build-dependency)

Best regards,
Thomas

---

diff --git a/package/iptables/patches/210-fix-no-ext-install.patch 
b/package/iptables/patches/210-fix-no-ext-install.patch
new file mode 100644
--- /dev/null
+++ b/package/iptables/patches/210-fix-no-ext-install.patch
@@ -0,0 +1,15 @@
+--- a/extensions/GNUmakefile.in
++++ b/extensions/GNUmakefile.in
+@@ -68,11 +68,10 @@ pf6_solibs    := $(patsubst %,libip6t_%.
+ #
+ targets := libext4.a libext6.a matches4.man matches6.man \
+            targets4.man targets6.man
+-targets_install :=
+ libext4_objs := ${pfx_objs} ${pf4_objs}
+ libext6_objs := ${pfx_objs} ${pf6_objs}
+ targets += ${pfx_solibs} ${pf4_solibs} ${pf6_solibs}
+-targets_install += ${pfx_solibs} ${pf4_solibs} ${pf6_solibs}
++targets_install := $(strip ${pfx_solibs} ${pf4_solibs} ${pf6_solibs})
+ 
+ .SECONDARY:
+

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to