Browse Source

libpcap: Avoid linking aginst libnl

android-5
Fredrik Fornwall 8 years ago
parent
commit
26797cb4d1
  1. 3
      packages/libpcap/build.sh

3
packages/libpcap/build.sh

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Library for network traffic capture"
TERMUX_PKG_VERSION=1.8.1 TERMUX_PKG_VERSION=1.8.1
TERMUX_PKG_SRCURL=http://www.tcpdump.org/release/libpcap-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=http://www.tcpdump.org/release/libpcap-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=673dbc69fdc3f5a86fb5759ab19899039a8e5e6c631749e48dcd9c6f0c83541e 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_RM_AFTER_INSTALL="bin/pcap-config share/man/man1/pcap-config.1"
TERMUX_PKG_BUILD_IN_SRC="yes" TERMUX_PKG_BUILD_IN_SRC="yes"

Loading…
Cancel
Save