summaryrefslogtreecommitdiffstats
path: root/install-win32/getopenssl
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-02-01 10:13:59 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-02-01 10:13:59 +0000
commit63082c8a210741e2c390f78669009697128cfe30 (patch)
tree0df33f1061a4cb681804f9d77fb0493d0578b5c0 /install-win32/getopenssl
parent81c7d6558e1f9f43b48222b6b54fa1d9c183db2a (diff)
downloadopenvpn-63082c8a210741e2c390f78669009697128cfe30.tar.gz
openvpn-63082c8a210741e2c390f78669009697128cfe30.tar.xz
openvpn-63082c8a210741e2c390f78669009697128cfe30.zip
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
Diffstat (limited to 'install-win32/getopenssl')
-rw-r--r--install-win32/getopenssl17
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