summaryrefslogtreecommitdiff
path: root/package/bzip2
diff options
context:
space:
mode:
Diffstat (limited to 'package/bzip2')
-rw-r--r--package/bzip2/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/bzip2/Makefile b/package/bzip2/Makefile
index bbbbfecc9..15cf56beb 100644
--- a/package/bzip2/Makefile
+++ b/package/bzip2/Makefile
@@ -56,7 +56,9 @@ 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)
$(CP) ${WRKBUILD}/libbz2.a ${STAGING_TARGET_DIR}/usr/lib
+endif
libbz2-install:
${INSTALL_DIR} ${IDIR_LIBBZ2}/usr/lib