libpcap: drop obsolete configure options and use cfg-libs option

This commit is contained in:
Rudi Heitbaum 2024-09-17 08:01:19 +00:00
parent 5d3b33205e
commit fde14f5da1

View File

@ -11,16 +11,15 @@ PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A portable framework for low-level network monitoring." PKG_LONGDESC="A portable framework for low-level network monitoring."
# use configure, not cmake. review cmake in future release. # use configure, not cmake. review cmake in future release.
PKG_TOOLCHAIN="configure" PKG_TOOLCHAIN="configure"
PKG_BUILD_FLAGS="-cfg-libs"
PKG_CONFIGURE_OPTS_TARGET="LIBS=-lpthread \ PKG_CONFIGURE_OPTS_TARGET="LIBS=-lpthread \
ac_cv_header_libusb_1_0_libusb_h=no \ ac_cv_header_libusb_1_0_libusb_h=no \
--disable-shared \ --disable-shared \
--with-pcap=linux \ --with-pcap=linux \
--disable-bluetooth \ --disable-bluetooth \
--disable-can \
--without-libnl \ --without-libnl \
--disable-dbus \ --disable-dbus"
--disable-canusb"
pre_configure_target() { pre_configure_target() {
# When cross-compiling, configure can't set linux version # When cross-compiling, configure can't set linux version