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
This commit is contained in:
parent
c672680741
commit
6ce1cc3b30
1 changed files with 3 additions and 2 deletions
|
@ -97,9 +97,10 @@ HOST_CONFIGURE_ARGS+= \
|
||||||
--prefix=$(STAGING_DIR_HOST)
|
--prefix=$(STAGING_DIR_HOST)
|
||||||
|
|
||||||
define Host/Install
|
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
|
$(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
|
endef
|
||||||
|
|
||||||
$(eval $(call HostBuild))
|
$(eval $(call HostBuild))
|
||||||
|
|
Loading…
Reference in a new issue