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 08:14:46 -0700 (Fri, 12 Oct 2007) New Revision: 20233

Log:
Do not copy shared C++ lib, unless one is built

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

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

buildroot/toolchain/gcc/gcc-uclibc-3.x.mk +2 -0
@@ -337,9 +337,11 @@
 	-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
+ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
 	-strip --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
+endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	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/