diff options
Diffstat (limited to 'protoc-artifacts')
-rwxr-xr-x | protoc-artifacts/build-protoc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protoc-artifacts/build-protoc.sh b/protoc-artifacts/build-protoc.sh index b008fec3..57523a41 100755 --- a/protoc-artifacts/build-protoc.sh +++ b/protoc-artifacts/build-protoc.sh @@ -213,7 +213,7 @@ fi # Statically link libgcc and libstdc++. # -s to produce stripped binary. -if [[ "$OS" == windows && "$ARCH" == x86_64 ]]; then +if [[ "$OS" == windows ]]; then # Also static link libpthread required by mingw64 LDFLAGS="$LDFLAGS -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread -s" elif [[ "$OS" != osx ]]; then |