[oe-commits] Christopher Larson : libpcap: fix pcap-config to not return -Wl, -rpath

git at git.openembedded.org git at git.openembedded.org
Thu Jul 26 13:43:25 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 9090abb6240d8a3bf2ff0acd84e13c363440896b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9090abb6240d8a3bf2ff0acd84e13c363440896b

Author: Christopher Larson <chris_larson at mentor.com>
Date:   Fri Jul 20 10:20:33 2012 -0700

libpcap: fix pcap-config to not return -Wl,-rpath

Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-connectivity/libpcap/libpcap.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
index 427078f..7d4e841 100644
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ b/meta/recipes-connectivity/libpcap/libpcap.inc
@@ -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
 }





More information about the Openembedded-commits mailing list