aboutsummaryrefslogtreecommitdiff
path: root/package/libnspr
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@openwide.fr>2014-12-27 22:58:20 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-01 17:42:19 +0100
commitd09c27a8f8edaaf8e6f3e703355c455b0265002b (patch)
treedda17b7b191fa1042bc6604d3d4fc77885a4b0fd /package/libnspr
parent0319d627620dbdb26e08245c8a1a7a01aa9a010e (diff)
downloadbuildroot-d09c27a8f8edaaf8e6f3e703355c455b0265002b.tar.gz
buildroot-d09c27a8f8edaaf8e6f3e703355c455b0265002b.tar.bz2
package/libnspr: disable static library for shared only build
Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libnspr')
-rw-r--r--package/libnspr/libnspr.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/libnspr/libnspr.mk b/package/libnspr/libnspr.mk
index 4beff68ee0..702978c30e 100644
--- a/package/libnspr/libnspr.mk
+++ b/package/libnspr/libnspr.mk
@@ -27,6 +27,12 @@ LIBNSPR_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) SHARED_LIBRARY= install
LIBNSPR_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) SHARED_LIBRARY= install
endif
+ifeq ($(BR2_SHARED_LIBS),y)
+LIBNSPR_MAKE_OPTS = LIBRARY=
+LIBNSPR_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) LIBRARY= install
+LIBNSPR_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LIBRARY= install
+endif
+
ifeq ($(BR2_arm),y)
ifeq ($(BR2_ARM_CPU_HAS_THUMB2),y)
LIBNSPR_CONF_OPTS += --enable-thumb2