diff options
Diffstat (limited to 'install-win32/makeopenvpn')
-rw-r--r-- | install-win32/makeopenvpn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/install-win32/makeopenvpn b/install-win32/makeopenvpn index 234dea5..e3aef48 100644 --- a/install-win32/makeopenvpn +++ b/install-win32/makeopenvpn @@ -11,7 +11,9 @@ if gcc --version &>/dev/null && [ -d "$OPENSSL_DIR" ] && [ -d "$LZO_DIR" ] && [ # copy OpenVPN executable to GENOUT/bin mkdir -p $GENOUT/bin &>/dev/null cp $PRODUCT_UNIX_NAME.exe $GENOUT/bin - strip $GENOUT/bin/$PRODUCT_UNIX_NAME.exe + if [ -z "$NO_STRIP" ]; then + strip $GENOUT/bin/$PRODUCT_UNIX_NAME.exe + fi else echo DID NOT BUILD openvpn.exe because one or more of gcc, OPENSSL_DIR, LZO_DIR, or PKCS11_HELPER_DIR directories were missing fi |