summaryrefslogtreecommitdiff
path: root/package/bzip2
diff options
context:
space:
mode:
Diffstat (limited to 'package/bzip2')
-rw-r--r--package/bzip2/Makefile4
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