openvpn/install-win32/getopenssl
james 63082c8a21 Changes to Windows build system to make it easier to do
partial builds, where only a subset of OpenVPN installer
components are built.  See ./domake-win comments.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2710 e7ae566f-a301-0410-adde-c780ea21d3b5
2008-02-01 10:13:59 +00:00

18 lines
412 B
Bash

#!/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