From: Romain Naour Date: Sat, 27 Dec 2014 21:58:20 +0000 (+0100) Subject: package/libnspr: disable static library for shared only build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d09c27a8f8edaaf8e6f3e703355c455b0265002b;p=buildroot.git package/libnspr: disable static library for shared only build Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni --- 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