From 0f391a2e76cf8a7dd052dac8c58b432b1de450e9 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Sat, 22 May 2004 18:37:48 +0000 Subject: [PATCH] Add prepend of source include dir to flags variables in libpcap 0.8.x. BKrev: 40af9dfcFSCP4amwpbTxXbw54Rojlg --- libpcap/libpcap_0.8.1.oe | 3 +++ libpcap/libpcap_0.8.3.oe | 3 +++ 2 files changed, 6 insertions(+) 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 -- 2.39.5