From dd7b5a4240e7e1509d9626c585c69fc32c468d55 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 29 Jun 2015 21:25:34 +0200 Subject: [PATCH] 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 --- libs/boost/Makefile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) 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