Skip to content

Commit

Permalink
fixed x86 openssl build
Browse files Browse the repository at this point in the history
  • Loading branch information
webfolderio authored Jan 24, 2022
1 parent 79dc11b commit ff5282e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions build-x86.sh
Original file line number Diff line number Diff line change
Expand Up @@ -365,20 +365,21 @@ if [ ! -f $INSTALL_PATH/lib/libssl.a ]; then
tar -xf openssl-1.1.1m.tar.gz
cd openssl-1.1.1m
./Configure \
-m32 \
--static \
-static \
--prefix=$INSTALL_PATH \
--cross-compile-prefix=x86_64-w64-mingw32-mingw64 \
--cross-compile-prefix=i686-w64-mingw32- \
mingw \
no-shared \
enable-asm \
no-tests \
--with-zlib-include=$INSTALL_PATH \
--with-zlib-lib=$INSTALL_PATH/lib/libz.a
make
make install_sw
cd ..
fi
# -----------------------------------------------------------------------------
make
make install_sw
cd ..
fi# -----------------------------------------------------------------------------
# build wget (gnuTLS)
# -----------------------------------------------------------------------------
wget https://ftp.gnu.org/gnu/wget/wget-1.21.2.tar.gz
Expand Down

0 comments on commit ff5282e

Please sign in to comment.