On uClibc-based targets dlfcn.h isn't available when built for static-only targets. Add up -DNO_SHARED_LIBS when building static so as to guard off the include. Signed-off-by: Gustavo Zacarias <gustavo@xxxxxxxxxxxxxxx> --- iptables/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iptables/Makefile.am b/iptables/Makefile.am index a4246eb..1122d72 100644 --- a/iptables/Makefile.am +++ b/iptables/Makefile.am @@ -7,7 +7,7 @@ xtables_multi_SOURCES = xtables-multi.c iptables-xml.c xtables_multi_CFLAGS = ${AM_CFLAGS} xtables_multi_LDADD = ../extensions/libext.a if ENABLE_STATIC -xtables_multi_CFLAGS += -DALL_INCLUSIVE +xtables_multi_CFLAGS += -DALL_INCLUSIVE -DNO_SHARED_LIBS endif if ENABLE_IPV4 xtables_multi_SOURCES += iptables-save.c iptables-restore.c \ -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html