From 7a7a288f8328068cc0a40b4c9c77dbc0059dd308 Mon Sep 17 00:00:00 2001 From: Gregory LEOCADIE Date: Wed, 8 Jun 2022 15:47:14 +0200 Subject: [PATCH] No need to strip debug info on windows --- ffi-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffi-build.sh b/ffi-build.sh index 52f98c39d..ce01d8965 100755 --- a/ffi-build.sh +++ b/ffi-build.sh @@ -100,7 +100,7 @@ if [[ "$fix_macos_rpath" -eq 1 ]]; then fi # objcopy might not be available on macOS -if command -v objcopy > /dev/null; then +if command -v objcopy > /dev/null && [[ "$target" != "x86_64-pc-windows-msvc" ]]; then # Remove .llvmbc section which is not useful for clients objcopy --remove-section .llvmbc "$destdir/lib/${static_library_name}"