Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | From 4d7ebe3ed6cee72bc7db98bd408d22c10ef5dd82 Mon Sep 17 00:00:00 2001 |
| 2 | From: Joe MacDonald <joe@deserted.net> |
| 3 | Date: Wed, 20 Nov 2013 16:06:07 -0500 |
| 4 | Subject: [PATCH] libpcap: search sysroot for headers |
| 5 | |
| 6 | Configure hard-coded host header paths when building with libpcap. Point |
| 7 | the search path at the sysroot instead. |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | |
| 11 | Signed-off-by: Joe MacDonald <joe@deserted.net> |
| 12 | --- |
| 13 | configure.in | 2 +- |
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/configure.in b/configure.in |
| 17 | index 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 | -- |
| 30 | 1.7.10.4 |
| 31 | |