mirror of
https://github.com/OpenVPN/openvpn.git
synced 2025-05-08 21:25:53 +08:00

Minor fixes to Windows build scripts. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3417 e7ae566f-a301-0410-adde-c780ea21d3b5
20 lines
471 B
Bash
20 lines
471 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 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
|