From 58a45018923e86a7c26433dc99cbac9006aad4ad Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Thu, 25 Apr 2024 12:22:22 -0700 Subject: [PATCH] Enable symlink on Windows --- build-windows.sh | 1 + config-windows.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/build-windows.sh b/build-windows.sh index 3f86da4..9dcf745 100755 --- a/build-windows.sh +++ b/build-windows.sh @@ -67,6 +67,7 @@ ndk() { rm -rf mingw.7z mingw64 curl -o mingw.7z -OL "$MINGW_URL" 7z x mingw.7z + rm -rf mingw64/etc mingw64/opt mingw64/share mingw64/build-info.txt cp -af mingw64/. ndk/toolchains/rust/. } diff --git a/config-windows.toml b/config-windows.toml index 84f6eb2..db88430 100644 --- a/config-windows.toml +++ b/config-windows.toml @@ -13,6 +13,7 @@ version-suffix = "" LLVM_VERSION_SUFFIX = "" LLVM_ENABLE_ZSTD = "FORCE_ON" LLVM_USE_STATIC_ZSTD = "TRUE" +LLVM_USE_SYMLINKS = "TRUE" [build] docs = false