Author: blogic
Date: 2015-10-26 10:18:03 +0100 (Mon, 26 Oct 2015)
New Revision: 47269

Modified:
   branches/chaos_calmer/package/utils/bzip2/Makefile
Log:
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 <[email protected]>

Backport of r47245

Modified: branches/chaos_calmer/package/utils/bzip2/Makefile
===================================================================
--- branches/chaos_calmer/package/utils/bzip2/Makefile  2015-10-26 09:17:54 UTC 
(rev 47268)
+++ branches/chaos_calmer/package/utils/bzip2/Makefile  2015-10-26 09:18:03 UTC 
(rev 47269)
@@ -97,9 +97,10 @@
        --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))
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to