Commit a8164107 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Peter Korsgaard
Browse files

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: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 87bb4399
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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))