aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2015-10-22 13:24:35 +0000
committerSteven Barth <cyrus@openwrt.org>2015-10-22 13:24:35 +0000
commit6ce1cc3b305b568b5a6f0093417114750edd7de6 (patch)
treebc438b720964f83414da8f3821e14bd95b14d4fb /package/utils
parentc672680741b96a958bbc6186fa25bef12d5ce171 (diff)
downloadupstream-6ce1cc3b305b568b5a6f0093417114750edd7de6.tar.gz
upstream-6ce1cc3b305b568b5a6f0093417114750edd7de6.tar.bz2
upstream-6ce1cc3b305b568b5a6f0093417114750edd7de6.zip
bzip2: extend/fix the Host/Install rule to install libbz2.so files
It looks like the bzip2 package does not install any shared libs and has no build rules to install any shared libs. So, for the host build we're installing the libbz2 shared libs manually so that other modules can link against them. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 47245
Diffstat (limited to 'package/utils')
-rw-r--r--package/utils/bzip2/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/utils/bzip2/Makefile b/package/utils/bzip2/Makefile
index e1c7b97ffc..ba47cfb7e3 100644
--- a/package/utils/bzip2/Makefile
+++ b/package/utils/bzip2/Makefile
@@ -97,9 +97,10 @@ HOST_CONFIGURE_ARGS+= \
--prefix=$(STAGING_DIR_HOST)
define Host/Install
- $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/
+ $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/ $(STAGING_DIR_HOST)/usr/lib
$(MAKE) -C $(HOST_BUILD_DIR) PREFIX=$(STAGING_DIR_HOST)/usr/ install
-# $(INSTALL_BIN) $(HOST_BUILD_DIR)/Parser/pgen $(STAGING_DIR_HOST)/bin/pgen2
+ $(CP) $(HOST_BUILD_DIR)/libbz2.so* $(STAGING_DIR_HOST)/usr/lib/
+ $(CP) $(HOST_BUILD_DIR)/libbz2.so.1.0 $(STAGING_DIR_HOST)/usr/lib/libbz2.so
endef
$(eval $(call HostBuild))