From 5a7858808155c9ae4b0922a96956a0fb5a2b7367 Mon Sep 17 00:00:00 2001 From: Chengyu Han Date: Fri, 20 Dec 2024 23:54:58 +0800 Subject: [PATCH] build: copy libmsvcrt for mingw32&64 --- deps/csl.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deps/csl.mk b/deps/csl.mk index 8b2a2aac683441..bafc0f55017c9d 100644 --- a/deps/csl.mk +++ b/deps/csl.mk @@ -112,7 +112,8 @@ install-csl: cp -a $(build_libdir)/gcc/$(BB_TRIPLET)/13/libmsvcrt.a $(build_private_libdir)/ cp -a $(build_libdir)/gcc/$(BB_TRIPLET)/13/libssp.dll.a $(build_private_libdir)/ cp -a $(build_libdir)/gcc/$(BB_TRIPLET)/13/libssp.dll.a $(build_libdir)/ - cp -a /mingw64/lib/libmsvcrt.a $(build_private_libdir)/ + -cp -a /mingw64/lib/libmsvcrt.a $(build_private_libdir)/ + -cp -a /mingw32/lib/libmsvcrt.a $(build_private_libdir)/ endif endif ifeq ($(OS),WINNT)