diff options
Diffstat (limited to 'toolchain/external-toolchain/ext-tool.mk')
-rw-r--r-- | toolchain/external-toolchain/ext-tool.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/external-toolchain/ext-tool.mk b/toolchain/external-toolchain/ext-tool.mk index 6df48f0b0..e772cda7e 100644 --- a/toolchain/external-toolchain/ext-tool.mk +++ b/toolchain/external-toolchain/ext-tool.mk @@ -190,6 +190,10 @@ else EXTERNAL_LIBS+=ld-linux.so libnss_files.so endif +ifeq ($(BR2_INSTALL_LIBSTDCPP),y) +EXTERNAL_LIBS+=libstdc++.so +endif + SYSROOT_DIR=$(shell LANG=C $(TARGET_CC) -v 2>&1 | grep ^Configured | tr " " "\n" | grep -- "--with-sysroot" | cut -f2 -d=) $(STAMP_DIR)/ext-toolchain-installed: |