mirror of
https://github.com/openwrt/packages.git
synced 2025-12-27 04:39:58 +04:00
Merge pull request #1504 from hauke/boost
boost: do not fail when no shared libs were build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user