summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/gcc-uclibc-4.x.mk
diff options
context:
space:
mode:
authorUlf Samuelsson2007-10-12 14:30:14 +0200
committerUlf Samuelsson2007-10-12 14:30:14 +0200
commitd2b3ce5c1b513d0c738c5fe19b8e8f3df3bd67b8 (patch)
tree1cdae9b6ba82e53dc0e53b0f718df1f0489040c6 /toolchain/gcc/gcc-uclibc-4.x.mk
parentAllow longer history for package versions (diff)
downloadbuildroot-d2b3ce5c1b513d0c738c5fe19b8e8f3df3bd67b8.tar.gz
buildroot-d2b3ce5c1b513d0c738c5fe19b8e8f3df3bd67b8.tar.xz
buildroot-d2b3ce5c1b513d0c738c5fe19b8e8f3df3bd67b8.zip
Cannot copy shared c++ lib, if one has not been created
Diffstat (limited to 'toolchain/gcc/gcc-uclibc-4.x.mk')
-rw-r--r--toolchain/gcc/gcc-uclibc-4.x.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk
index 462149028..4f414fee4 100644
--- a/toolchain/gcc/gcc-uclibc-4.x.mk
+++ b/toolchain/gcc/gcc-uclibc-4.x.mk
@@ -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/