static link for 32 bit build as well.
This commit is contained in:
parent
f7b3dd4329
commit
d909834ec6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user