package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / libpcap / 0001-remove-libnl-include-path.patch
blobd0760d4f9d8612b2f44a1c167394c909a4e6478a
1 Remove hardcoded path to libnl3 include directory
3 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4 [Gustavo: update for 1.7.2]
6 diff -Nura libpcap-1.7.2.orig/configure.in libpcap-1.7.2/configure.in
7 --- libpcap-1.7.2.orig/configure.in 2015-03-14 08:02:05.538706347 -0300
8 +++ libpcap-1.7.2/configure.in 2015-03-14 08:17:22.637519050 -0300
9 @@ -461,14 +461,13 @@
11 # Yes, we have libnl 3.x.
13 - LIBS="${libnldir} -lnl-genl-3 -lnl-3 $LIBS"
14 + LIBS="-lnl-genl-3 -lnl-3 $LIBS"
15 AC_DEFINE(HAVE_LIBNL,1,[if libnl exists])
16 AC_DEFINE(HAVE_LIBNL_3_x,1,[if libnl exists and is version 3.x])
17 AC_DEFINE(HAVE_LIBNL_NLE,1,[libnl has NLE_FAILURE])
18 AC_DEFINE(HAVE_LIBNL_SOCKETS,1,[libnl has new-style socket api])
19 - V_INCLS="$V_INCLS ${incdir}"
20 have_any_nl="yes"
21 - ],[], ${incdir} ${libnldir} -lnl-genl-3 -lnl-3 )
22 + ],[], -lnl-genl-3 -lnl-3 )
24 if test x$have_any_nl = xno ; then