diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-11-27 22:19:21 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-11-27 22:20:13 +0100 |
commit | 739d512289d14ade82e9fbae7f4371e65989622f (patch) | |
tree | 66c17c7e39a041169e08ea7137f072e3b65ab945 /package/bzip2/Makefile | |
parent | d47894abb5304cf3bb30b3669e596d648b5277ba (diff) |
add three library methods, static, shared or both
Rename the static symbol and add the choice to a more
visible place for users.
Diffstat (limited to 'package/bzip2/Makefile')
-rw-r--r-- | package/bzip2/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/bzip2/Makefile b/package/bzip2/Makefile index 7ad9e9f97..4edfc4b7a 100644 --- a/package/bzip2/Makefile +++ b/package/bzip2/Makefile @@ -34,7 +34,7 @@ $(eval $(call PKG_template,LIBBZ2,libbz2,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_ HOST_STYLE:= manual HOST_MAKE_FILE:= Makefile -ifneq ($(ADK_TARGET_USE_STATIC_LIBS),y) +ifneq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y) MAKE_FILE:= Makefile-libbz2_so BIN_FILE:= bzip2-shared else @@ -57,7 +57,7 @@ bzip2-hostinstall: do-install: ${INSTALL_DIR} $(STAGING_TARGET_DIR)/usr/include $(CP) $(WRKBUILD)/bzlib.h $(STAGING_TARGET_DIR)/usr/include -ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y) +ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y) $(CP) ${WRKBUILD}/libbz2.a ${STAGING_TARGET_DIR}/usr/lib endif |