[OpenWrt-Devel] [PATCH] libnet-1.2.x: enable HAVE_PACKET_SOCKET

Alin Nastac alin.nastac at gmail.com
Thu May 19 08:57:02 EDT 2016


There is already a CONFIGURE_VAR set in here that seem
to have the same purpose, but it doesn't do the trick
in my cause (autoconf 2.69).
---
 libs/libnet-1.2.x/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libs/libnet-1.2.x/Makefile b/libs/libnet-1.2.x/Makefile
index a791163..062c7b6 100644
--- a/libs/libnet-1.2.x/Makefile
+++ b/libs/libnet-1.2.x/Makefile
@@ -39,6 +39,7 @@ CONFIGURE_ARGS += \
 CONFIGURE_VARS += \
 	ac_cv_libnet_endianess=$(ENDIANESS) \
 	ac_libnet_have_pf_packet=yes \
+	libnet_cv_have_packet_socket=yes \
 	LL_INT_TYPE=libnet_link_linux
 
 define Build/Configure
-- 
1.7.12.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list