Add prepend of source include dir to flags variables in libpcap 0.8.x.
authorChris Larson <clarson@kergoth.com>
Sat, 22 May 2004 18:37:48 +0000 (18:37 +0000)
committerChris Larson <clarson@kergoth.com>
Sat, 22 May 2004 18:37:48 +0000 (18:37 +0000)
BKrev: 40af9dfcFSCP4amwpbTxXbw54Rojlg

libpcap/libpcap_0.8.1.oe
libpcap/libpcap_0.8.3.oe

index 988d887..af38d92 100644 (file)
@@ -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
index 8abedc1..07518e6 100644 (file)
@@ -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