]> code.ossystems Code Review - openembedded-core.git/commitdiff
libpcap: fix pcap-config to not return -Wl,-rpath
authorChristopher Larson <chris_larson@mentor.com>
Fri, 20 Jul 2012 17:20:33 +0000 (10:20 -0700)
committerSaul Wold <sgw@linux.intel.com>
Wed, 25 Jul 2012 07:11:37 +0000 (00:11 -0700)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-connectivity/libpcap/libpcap.inc

index 427078f7e2ab5cfef375bb1194cbaa11924baa66..7d4e841c3e8ac6b487db954f1f4ece1bb0d35393 100644 (file)
@@ -13,7 +13,7 @@ DEPENDS = "flex-native bison-native"
 PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}"
 PACKAGECONFIG[bluetooth] = "--enable-bluetooth,--disable-bluetooth,bluez4"
 
-INC_PR = "r1"
+INC_PR = "r2"
 
 SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz"
 
@@ -29,4 +29,5 @@ do_configure_prepend () {
     if [ ! -e acinclude.m4 ]; then
         cat aclocal.m4 > acinclude.m4
     fi
+    sed -i -e's,^V_RPATH_OPT=.*$,V_RPATH_OPT=,' ${S}/pcap-config.in
 }