From 739d512289d14ade82e9fbae7f4371e65989622f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 27 Nov 2016 22:19:21 +0100 Subject: add three library methods, static, shared or both Rename the static symbol and add the choice to a more visible place for users. --- mk/pkg-bottom.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'mk/pkg-bottom.mk') diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk index 7602b4674..b501d5a28 100644 --- a/mk/pkg-bottom.mk +++ b/mk/pkg-bottom.mk @@ -13,9 +13,13 @@ PKG_LIBNAME?= $(PKG_NAME) -ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y) +ifeq ($(ADK_TARGET_USE_SHARED_LIBS_ONLY),y) +CONFIGURE_LIB:=--disable-static --enable-shared +endif +ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y) CONFIGURE_LIB:=--enable-static --disable-shared -else +endif +ifeq ($(ADK_TARGET_USE_SHARED_AND_STATIC_LIBS),y) CONFIGURE_LIB:=--enable-static --enable-shared endif -- cgit v1.2.3