* [Buildroot] [PATCH] libpcap: update static handling
@ 2010-11-27 23:55 Mike Frysinger
0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2010-11-27 23:55 UTC (permalink / raw)
To: buildroot
The new version of libpcap changed how its install targets work. The
main "install" target now always depends on "install-shared", so we
need to force the DYEXT variable to "none" in order to bypass shared.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
package/libpcap/libpcap.mk | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk
index eebfc03..377a60d 100644
--- a/package/libpcap/libpcap.mk
+++ b/package/libpcap/libpcap.mk
@@ -8,14 +8,11 @@ LIBPCAP_VERSION:=1.1.1
LIBPCAP_SITE:=http://www.tcpdump.org/release
LIBPCAP_SOURCE:=libpcap-$(LIBPCAP_VERSION).tar.gz
LIBPCAP_INSTALL_STAGING:=YES
-# doesn't have an install-strip
-LIBPCAP_INSTALL_TARGET_OPT= DESTDIR="$(TARGET_DIR)" \
- $(if $(BR2_PREFER_STATIC_LIB),install,install-shared)
-LIBPCAP_INSTALL_STAGING_OPT= DESTDIR="$(STAGING_DIR)" install \
- $(if $(BR2_PREFER_STATIC_LIB),,install-shared)
LIBPCAP_DEPENDENCIES:=zlib
LIBPCAP_CONF_ENV:=ac_cv_linux_vers=$(firstword $(subst .,$(space),$(firstword $(call qstrip,$(BR2_DEFAULT_KERNEL_HEADERS))))) \
ac_cv_header_linux_wireless_h=yes # configure misdetects this
LIBPCAP_CONF_OPT:=--disable-yydebug --with-pcap=linux
$(eval $(call AUTOTARGETS,package,libpcap))
+
+LIBPCAP_MAKE += $(if $(BR2_PREFER_STATIC_LIB),DYEXT=none)
--
1.7.3.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-27 23:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-27 23:55 [Buildroot] [PATCH] libpcap: update static handling Mike Frysinger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.