From: Hauke Mehrtens Date: Mon, 29 Jun 2015 19:25:34 +0000 (+0200) Subject: boost: do not fail when no shared libs were build X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=dd7b5a4240e7e1509d9626c585c69fc32c468d55;p=openwrt-packages.git boost: do not fail when no shared libs were build When only boost is selected without any specific boost library no *.so file will be build and the InstallDev part is failing. Instead of checking if there is a lib directory just try to copy the libs and do not fail in case of an error. Signed-off-by: Hauke Mehrtens --- diff --git a/libs/boost/Makefile b/libs/boost/Makefile index b54ea1e84..ef0f31f02 100644 --- a/libs/boost/Makefile +++ b/libs/boost/Makefile @@ -226,16 +226,9 @@ define Build/InstallDev $(1)/usr/include/boost/ \ # copies _all_ header files - independent of <--with-library>-argument above - if [ -d $(PKG_INSTALL_DIR)/lib ]; then \ - $(INSTALL_DIR) \ - $(1)/usr/lib; \ - $(CP) \ - $(PKG_INSTALL_DIR)/lib/*.a \ - $(1)/usr/lib/; \ - $(CP) \ - $(PKG_INSTALL_DIR)/lib/*.so* \ - $(1)/usr/lib/; \ - fi + $(INSTALL_DIR) $(1)/usr/lib + -$(CP) $(PKG_INSTALL_DIR)/lib/*.a $(1)/usr/lib/ + -$(CP) $(PKG_INSTALL_DIR)/lib/*.so* $(1)/usr/lib/ endef define Host/Install