Patchwork [1/2] libpcap: fixup pcap-config

login
register
mail settings
Submitter Baruch Siach
Date Feb. 3, 2013, 6:04 a.m.
Message ID <f903151303143f85e1e9c69b1f20400af878be97.1359870806.git.baruch@tkos.co.il>
Download mbox | patch
Permalink /patch/217728/
State Accepted
Commit d4d9ece91e80dad662efbb0c7342ff14096e711b
Headers show

Comments

Baruch Siach - Feb. 3, 2013, 6:04 a.m.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---

This patch depends on Stefan's LIBFOO_CONFIG_FIXUP patch. pcap-config still
insists on adding the build machine RPATH to its --libs output. Sould I add a
libcap specific fixup for this?

 package/libpcap/libpcap.mk |    1 +
 1 file changed, 1 insertion(+)
Peter Korsgaard - Feb. 4, 2013, 10:53 p.m.
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 Baruch> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
 Baruch> ---

Committed, thanks.

Patch

diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk
index 7e68f51..5be61bf 100644
--- a/package/libpcap/libpcap.mk
+++ b/package/libpcap/libpcap.mk
@@ -24,6 +24,7 @@  LIBPCAP_DEPENDENCIES = zlib
 LIBPCAP_CONF_ENV = ac_cv_linux_vers=2 \
 		ac_cv_header_linux_wireless_h=yes # configure misdetects this
 LIBPCAP_CONF_OPT = --disable-yydebug --with-pcap=linux
+LIBPCAP_CONFIG_FIXUP = pcap-config
 
 ifeq ($(BR2_PACKAGE_LIBUSB),y)
 LIBPCAP_CONF_OPT += --enable-canusb