libpcap: always make install for the staging dir
authorChris Packham <judge.packham@gmail.com>
Fri, 30 Oct 2009 17:04:10 +0000 (13:04 -0400)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 6 Dec 2009 21:08:39 +0000 (22:08 +0100)
So that the headers get installed in the staging directory for other packages
that need to use them.

[Peter: tweaked whitespace changes]
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/libpcap/libpcap.mk

diff --git a/CHANGES b/CHANGES
index b99f11d65492244848a18b88bcf0a5a22114e826..6af8cd6cca5f89ecf01f38bf4a5f33f8240a6176 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,7 +1,7 @@
 2010.02, Not yet released:
 
        Updated/fixed packages: autoconf, bind, binutils, busybox, iw,
-       lighttpd, mesa, pcre, usbutils
+       libpcap, lighttpd, mesa, pcre, usbutils
 
        Issues resolved (http://bugs.uclibc.org):
 
index 272d646b3fda18f47ad7b10221bcefeeede27428..dc72924e93aa7a9c571f6d8b89b68aa279c873ac 100644 (file)
@@ -11,8 +11,8 @@ 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)" \
-       $(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)))))
 LIBPCAP_CONF_OPT:=--disable-yydebug --with-pcap=linux