Skip to content

Commit 4849489

Browse files
committed
Link against libstdc++ from CSL on windows
Fix #57021. Split out from #58142, not sure if there is a better way to fix this.
1 parent d0703e7 commit 4849489

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deps/csl.mk

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ ifeq ($(OS),WINNT)
120120
GCC_VERSION = 14
121121
install-csl:
122122
mkdir -p $(build_private_libdir)/
123+
cp -a $(build_shlibdir)/$(call versioned_libname,libstdc++,6) $(build_shlibdir)/libstdc++.$(SHLIB_EXT)
123124
cp -a $(build_libdir)/gcc/$(BB_TRIPLET)/$(GCC_VERSION)/libgcc_s.a $(build_private_libdir)/
124125
cp -a $(build_libdir)/gcc/$(BB_TRIPLET)/$(GCC_VERSION)/libgcc.a $(build_private_libdir)/
125126
cp -a $(build_libdir)/gcc/$(BB_TRIPLET)/$(GCC_VERSION)/libmsvcrt.a $(build_private_libdir)/

0 commit comments

Comments
 (0)