summaryrefslogtreecommitdiff
path: root/package/bzip2
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-03-05 13:55:43 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-03-05 13:56:00 -0600
commit2e9b3d35529bfac03a42a41adf1c4b1e25d35b4f (patch)
tree8ea0a2edc36c176ce943fd0523343c99119069ad /package/bzip2
parent99e77dbbd31cdd09bd404f41990b3a605e4d8054 (diff)
fix install when static build is off
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