blob: 54c2a9521b7c085a19a8e505491a07c25a7f4544 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001From 4d7ebe3ed6cee72bc7db98bd408d22c10ef5dd82 Mon Sep 17 00:00:00 2001
2From: Joe MacDonald <joe@deserted.net>
3Date: Wed, 20 Nov 2013 16:06:07 -0500
4Subject: [PATCH] libpcap: search sysroot for headers
5
6Configure hard-coded host header paths when building with libpcap. Point
7the search path at the sysroot instead.
8
9Upstream-Status: Pending
10
11Signed-off-by: Joe MacDonald <joe@deserted.net>
12---
13 configure.in | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/configure.in b/configure.in
17index e52bb6c..8ded35d 100644
18--- a/configure.in
19+++ b/configure.in
20@@ -78,7 +78,7 @@ case "$host" in
21 linux="yes"
22 AC_DEFINE([LINUX],[1],[Define if Linux])
23 AC_SUBST(extra_incl)
24- extra_incl="-I/usr/include/pcap"
25+ extra_incl="-I=/usr/include/pcap"
26 ;;
27 *-hpux10*|*-hpux11*)
28 AC_DEFINE([HPUX],[1],[Define if HP-UX 10 or 11])
29--
301.7.10.4
31