summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpcap/libpcap_0.8.1.oe3
-rw-r--r--libpcap/libpcap_0.8.3.oe3
2 files changed, 6 insertions, 0 deletions
diff --git a/libpcap/libpcap_0.8.1.oe b/libpcap/libpcap_0.8.1.oe
index 988d8876fc..af38d9220c 100644
--- a/libpcap/libpcap_0.8.1.oe
+++ b/libpcap/libpcap_0.8.1.oe
@@ -10,6 +10,9 @@ SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz; \
inherit autotools
EXTRA_OECONF = "--with-pcap=linux"
+CPPFLAGS_prepend = "-I${S} "
+CFLAGS_prepend = "-I${S} "
+CXXFLAGS_prepend = "-I${S} "
do_configure_prepend () {
if [ ! -e acinclude.m4 ]; then
diff --git a/libpcap/libpcap_0.8.3.oe b/libpcap/libpcap_0.8.3.oe
index 8abedc1abb..07518e696c 100644
--- a/libpcap/libpcap_0.8.3.oe
+++ b/libpcap/libpcap_0.8.3.oe
@@ -12,6 +12,9 @@ SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz; \
inherit autotools
EXTRA_OECONF = "--with-pcap=linux"
+CPPFLAGS_prepend = "-I${S} "
+CFLAGS_prepend = "-I${S} "
+CXXFLAGS_prepend = "-I${S} "
do_configure_prepend () {
if [ ! -e acinclude.m4 ]; then