From: John Crispin Date: Mon, 26 Oct 2015 09:18:03 +0000 (+0000) Subject: bzip2: extend/fix the Host/Install rule to install libbz2.so files X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=456dc11d32f42a408e8d3402b5851af41a708798;p=openwrt%2Fsvn-archive%2Farchive.git 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 Backport of r47245 SVN-Revision: 47269 --- 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))