diff options
Diffstat (limited to 'install-win32/getopenssl')
-rw-r--r-- | install-win32/getopenssl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/install-win32/getopenssl b/install-win32/getopenssl new file mode 100644 index 0000000..b7d2629 --- /dev/null +++ b/install-win32/getopenssl @@ -0,0 +1,17 @@ +#!/bin/sh + +# get version.nsi definitions +. autodefs/defs.sh + +# Get OpenSSL binaries +if [ -d "$OPENSSL_DIR" ] ; then + mkdir -p $GENOUT/lib &>/dev/null + mkdir -p $GENOUT/bin &>/dev/null + for f in libeay32.dll libssl32.dll openssl.exe ; do + cp $OPENSSL_DIR/$f $GENOUT/lib + strip $GENOUT/lib/$f + done + mv $GENOUT/lib/openssl.exe $GENOUT/bin +else + echo OpenSSL DIR $OPENSSL_DIR NOT FOUND +fi |