Cannot copy shared c++ lib, if one has not been created
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Fri, 12 Oct 2007 12:30:14 +0000 (12:30 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Fri, 12 Oct 2007 12:30:14 +0000 (12:30 -0000)
toolchain/gcc/gcc-uclibc-4.x.mk

index 4621490281548a299f1c44bb9ab23872673a0cdf..4f414fee4abbaa96766ea541d61da5bab7a9ae67 100644 (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/