Skip to content

Commit

Permalink
No need to strip debug info on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gleocadie committed Jun 8, 2022
1 parent 46aaccb commit 7a7a288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffi-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down

0 comments on commit 7a7a288

Please sign in to comment.