Cannot copy shared c++ lib, if one has not been created

This commit is contained in:
Ulf Samuelsson 2007-10-12 12:30:14 +00:00
parent cfeb86e2b3
commit d2b3ce5c1b

View File

@ -349,9 +349,11 @@ ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
$(TARGET_DIR)/lib/
endif
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* \
$(TARGET_DIR)/usr/lib/
endif
endif
ifeq ($(BR2_INSTALL_LIBGCJ),y)
cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/
cp -dpf $(STAGING_DIR)/lib/lib-org-w3c-dom.so* $(TARGET_DIR)/lib/