Browse Source

static link for 32 bit build as well.

Jisi Liu 8 năm trước cách đây
mục cha
commit
d909834ec6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      protoc-artifacts/build-protoc.sh

+ 1 - 1
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