mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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 <hauke@hauke-m.de>
This commit is contained in:
+3
-10
@@ -226,16 +226,9 @@ define Build/InstallDev
|
|||||||
$(1)/usr/include/boost/ \
|
$(1)/usr/include/boost/ \
|
||||||
# copies _all_ header files - independent of <--with-library>-argument above
|
# copies _all_ header files - independent of <--with-library>-argument above
|
||||||
|
|
||||||
if [ -d $(PKG_INSTALL_DIR)/lib ]; then \
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(INSTALL_DIR) \
|
-$(CP) $(PKG_INSTALL_DIR)/lib/*.a $(1)/usr/lib/
|
||||||
$(1)/usr/lib; \
|
-$(CP) $(PKG_INSTALL_DIR)/lib/*.so* $(1)/usr/lib/
|
||||||
$(CP) \
|
|
||||||
$(PKG_INSTALL_DIR)/lib/*.a \
|
|
||||||
$(1)/usr/lib/; \
|
|
||||||
$(CP) \
|
|
||||||
$(PKG_INSTALL_DIR)/lib/*.so* \
|
|
||||||
$(1)/usr/lib/; \
|
|
||||||
fi
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Host/Install
|
define Host/Install
|
||||||
|
|||||||
Reference in New Issue
Block a user