Skip to content

Commit

Permalink
Tweak windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
RyeMutt committed Jun 21, 2024
1 parent f1fffc5 commit af5bc45
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions build-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pushd "$OPENSSL_SOURCE_DIR"
fi

# Debug Build
perl Configure "$debugtargetname" zlib threads no-shared -DUNICODE -D_UNICODE \
perl Configure "$debugtargetname" zlib threads no-shared -DUNICODE -D_UNICODE /FS \
--with-rand-seed="os,rdcpu" \
--with-zlib-include="$(cygpath -w "$stage/packages/include/zlib")" \
--with-zlib-lib="$(cygpath -w "$stage/packages/lib/debug/zlibd.lib")"
Expand All @@ -90,7 +90,7 @@ pushd "$OPENSSL_SOURCE_DIR"
nmake distclean

# Release Build
perl Configure "$releasetargetname" zlib threads no-shared -DUNICODE -D_UNICODE \
perl Configure "$releasetargetname" zlib threads no-shared -DUNICODE -D_UNICODE /FS \
--with-rand-seed="os,rdcpu" \
--with-zlib-include="$(cygpath -w "$stage/packages/include/zlib")" \
--with-zlib-lib="$(cygpath -w "$stage/packages/lib/release/zlib.lib")"
Expand All @@ -107,9 +107,6 @@ pushd "$OPENSSL_SOURCE_DIR"
# Publish headers
mkdir -p "$stage/include/openssl"
cp -a include/openssl/*.h "$stage/include/openssl"

# Clean
nmake distclean
;;

darwin*)
Expand Down

0 comments on commit af5bc45

Please sign in to comment.