mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-06 09:57:44 +00:00
Do not copy shared C++ lib, unless one is built
This commit is contained in:
parent
191d0518b9
commit
d89d54541e
@ -337,9 +337,11 @@ ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
|
|||||||
-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
|
-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
|
||||||
endif
|
endif
|
||||||
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
|
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
|
||||||
|
ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
|
||||||
cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
|
cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
|
||||||
-strip --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
|
-strip --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
ifeq ($(BR2_INSTALL_LIBGCJ),y)
|
ifeq ($(BR2_INSTALL_LIBGCJ),y)
|
||||||
cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/usr/lib/
|
cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/usr/lib/
|
||||||
cp -dpf $(STAGING_DIR)/lib/lib-org-w3c-dom.so* $(TARGET_DIR)/usr/lib/
|
cp -dpf $(STAGING_DIR)/lib/lib-org-w3c-dom.so* $(TARGET_DIR)/usr/lib/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user