From d09c27a8f8edaaf8e6f3e703355c455b0265002b Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sat, 27 Dec 2014 22:58:20 +0100 Subject: [PATCH] package/libnspr: disable static library for shared only build Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni --- package/libnspr/libnspr.mk | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.30.2