#16953: Miniupnpd does not build if IPv6 is disabled
-----------------------+----------------------------------
Reporter: duvi | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords:
-----------------------+----------------------------------
Comment (by anonymous):
Patched Makefile.linux and it works. Seems like its a pkg-config failure.
It links miniupnpd against libip6tc.
diff -rupN miniupnpd-1.8.20141022.a/Makefile.linux
miniupnpd-1.8.20141022/Makefile.linux
--- miniupnpd-1.8.20141022.a/Makefile.linux 2014-10-21
12:15:13.000000000 -0200
+++ miniupnpd-1.8.20141022/Makefile.linux 2014-10-23
11:23:13.548797865 -0200
@@ -70,7 +70,8 @@ CPPFLAGS += -DIPTABLES_143
endif
CFLAGS += $(shell $(PKG_CONFIG) --cflags libiptc)
-LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libiptc)
+#LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libiptc)
+LDLIBS += -lip4tc
LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-L libiptc)
LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-other libiptc)
else
--
Ticket URL: <https://dev.openwrt.org/ticket/16953#comment:4>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets