From 26797cb4d157c90769b03a863a2b786dd732ad55 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 17 Feb 2017 11:53:07 +0100 Subject: [PATCH] libpcap: Avoid linking aginst libnl --- packages/libpcap/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/libpcap/build.sh b/packages/libpcap/build.sh index 6381173e6..a93a3d89b 100644 --- a/packages/libpcap/build.sh +++ b/packages/libpcap/build.sh @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Library for network traffic capture" TERMUX_PKG_VERSION=1.8.1 TERMUX_PKG_SRCURL=http://www.tcpdump.org/release/libpcap-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=673dbc69fdc3f5a86fb5759ab19899039a8e5e6c631749e48dcd9c6f0c83541e -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-pcap=linux" +# ac_cv_lib_nl_3_nl_socket_alloc=no to avoid linking against libnl: +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_nl_3_nl_socket_alloc=no --with-pcap=linux" TERMUX_PKG_RM_AFTER_INSTALL="bin/pcap-config share/man/man1/pcap-config.1" TERMUX_PKG_BUILD_IN_SRC="yes"