Skip to contentSkip to conversation

svn commit: trunk/buildroot/toolchain/gcc

Buildroot ulf at uclibc.org 1 participant 1 message Oct 12, 2007

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2007-10-12 05:30:14 -0700 (Fri, 12 Oct 2007) New Revision: 20226

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

Modified:
trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk

Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================

buildroot/toolchain/gcc/gcc-uclibc-4.x.mk +2 -0
@@ -349,9 +349,11 @@
 		$(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/