diff options
author | Alberto Gonzalez Iniesta <agi@inittab.org> | 2012-02-21 15:53:40 +0100 |
---|---|---|
committer | Alberto Gonzalez Iniesta <agi@inittab.org> | 2012-02-21 15:53:40 +0100 |
commit | 349cfa7acb95abe865209a28e417ec74b56f9bba (patch) | |
tree | ad65334821b587c4ecdd461be84c94305ffdb888 /install-win32/getopenssl |
Imported Upstream version 2.2.1upstream/2.2.1
Diffstat (limited to 'install-win32/getopenssl')
-rw-r--r-- | install-win32/getopenssl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/install-win32/getopenssl b/install-win32/getopenssl new file mode 100644 index 0000000..b772741 --- /dev/null +++ b/install-win32/getopenssl @@ -0,0 +1,19 @@ +#!/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 out/openssl.exe ; do + cp $OPENSSL_DIR/$f $GENOUT/lib + if [ -z "$NO_STRIP" ]; then + strip $GENOUT/lib/`basename $f` + fi + done + mv $GENOUT/lib/openssl.exe $GENOUT/bin +else + echo OpenSSL DIR $OPENSSL_DIR NOT FOUND +fi |