eglibc: libstdc++ is not part of the C library

For some reason, the eglibc.mk file was trying to install libstdc++.so
from eglibc to the target. But the C++ standard library is provided by
GCC, not by the C library.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Thomas Petazzoni 2013-09-02 18:06:28 +02:00 committed by Peter Korsgaard
parent 87bb439942
commit a8164107ec

View File

@ -89,17 +89,10 @@ ifeq ($(BR2_PACKAGE_GDB_SERVER),y)
EGLIBC_LIBS_LIB += libthread_db.so
endif
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
EGLIBC_LIBS_USR_LIB += libstdc++.so
endif
define EGLIBC_INSTALL_TARGET_CMDS
for libs in $(EGLIBC_LIBS_LIB); do \
$(call copy_toolchain_lib_root,$(STAGING_DIR)/,,lib,$$libs,/lib) ; \
done
for libs in $(EGLIBC_LIBS_USR_LIB); do \
$(call copy_toolchain_lib_root,$(STAGING_DIR)/,,lib,$$libs,/usr/lib) ; \
done
endef
$(eval $(autotools-package))