summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/libpcap/libpcap.inc
diff options
context:
space:
mode:
authorJoe MacDonald <joe_macdonald@mentor.com>2015-02-24 23:39:01 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-27 07:38:34 +0000
commit0f51c1260ac53aa4843e29b00cd600eb64074260 (patch)
tree93c7da279e661d3751c6a8c76df44ad08e76985f /meta/recipes-connectivity/libpcap/libpcap.inc
parent041570e584b98b580cc75f9ee23372da74a84377 (diff)
downloadopenembedded-core-0f51c1260ac53aa4843e29b00cd600eb64074260.tar.gz
openembedded-core-0f51c1260ac53aa4843e29b00cd600eb64074260.tar.bz2
openembedded-core-0f51c1260ac53aa4843e29b00cd600eb64074260.zip
libpcap: add pkg-config support
libpcap was not previously installing a pkg-config file. Add a basic one that will allow using 'pkg-config --libs libpcap', for example, in recipes rather than 'pcap-config', which frequently returns incorrect information. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap.inc')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
index 979665c008..0c608b5967 100644
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ b/meta/recipes-connectivity/libpcap/libpcap.inc
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867 \
file://pcap.h;beginline=1;endline=32;md5=39af3510e011f34b8872f120b1dc31d2"
DEPENDS = "flex-native bison-native"
-inherit bluetooth
+inherit bluetooth pkgconfig
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)}"
PACKAGECONFIG[bluez4] = "--enable-bluetooth,--disable-bluetooth,bluez4"