[Buildroot] [PATCH 1/4] libpcap: update static handling

Peter Korsgaard jacmet at uclibc.org
Sun Jan 23 10:17:43 UTC 2011


>>>>> "Mike" == Mike Frysinger <vapier at gentoo.org> writes:

 Mike> The new version of libpcap changed how its install targets work.  The
 Mike> main "install" target now always depends on "install-shared", so we
 Mike> need to force the DYEXT variable to "none" in order to bypass shared.

Does that then still install the shared lib for normal
(!PREFER_STATIC_LIB) builds, or should this only be passed for the
static case?

 Mike> +++ b/package/libpcap/libpcap.mk
 Mike> @@ -8,12 +8,8 @@ LIBPCAP_VERSION:=1.1.1
 Mike>  LIBPCAP_SITE:=http://www.tcpdump.org/release
 Mike>  LIBPCAP_SOURCE:=libpcap-$(LIBPCAP_VERSION).tar.gz
 Mike>  LIBPCAP_INSTALL_STAGING:=YES
 Mike> -# doesn't have an install-strip
 Mike> -LIBPCAP_INSTALL_TARGET_OPT= DESTDIR="$(TARGET_DIR)" \
 Mike> -	$(if $(BR2_PREFER_STATIC_LIB),install,install-shared)
 Mike> -LIBPCAP_INSTALL_STAGING_OPT= DESTDIR="$(STAGING_DIR)" install \
 Mike> -	$(if $(BR2_PREFER_STATIC_LIB),,install-shared)
 Mike>  LIBPCAP_DEPENDENCIES:=zlib
 Mike> +LIBPCAP_MAKE_OPT:=DYEXT=none

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list