[Buildroot] svn commit: trunk/buildroot/toolchain/gcc

ulf at uclibc.org ulf at uclibc.org
Fri Oct 12 15:14:46 UTC 2007


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
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-12 15:12:55 UTC (rev 20232)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-12 15:14:46 UTC (rev 20233)
@@ -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/




More information about the buildroot mailing list