[Buildroot] [PATCH 04/10] package/keyutils: disable static library for shared only build

Romain Naour romain.naour at openwide.fr
Sat Dec 27 21:58:22 UTC 2014


Signed-off-by: Romain Naour <romain.naour at openwide.fr>
---
 package/keyutils/keyutils.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/keyutils/keyutils.mk b/package/keyutils/keyutils.mk
index 2038c0d..36588e6 100644
--- a/package/keyutils/keyutils.mk
+++ b/package/keyutils/keyutils.mk
@@ -23,6 +23,10 @@ ifeq ($(BR2_STATIC_LIBS),y)
 KEYUTILS_MAKE_PARAMS += NO_SOLIB=1
 endif
 
+ifeq ($(BR2_SHARED_LIBS),y)
+KEYUTILS_MAKE_PARAMS += NO_ARLIB=1
+endif
+
 define KEYUTILS_BUILD_CMDS
 	$(TARGET_CONFIGURE_OPTS) $(MAKE) $(KEYUTILS_MAKE_PARAMS) -C $(@D)
 endef
-- 
1.9.3



More information about the buildroot mailing list