aboutsummaryrefslogtreecommitdiffstats
path: root/otp_build
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2011-05-18 15:52:38 +0200
committerPatrik Nyblom <[email protected]>2011-05-18 15:52:38 +0200
commit6e1f1f59263a717ffcef2ebcd70592431a02cf2f (patch)
tree7cea224a2f57e135388bcf5b2631f90e719019ee /otp_build
parentda2c89c6973eaa808ef56ea42168c5bae97e2787 (diff)
parent33eba903b4bd0b18e8f8d9afacd3118c00557b39 (diff)
downloadotp-6e1f1f59263a717ffcef2ebcd70592431a02cf2f.tar.gz
otp-6e1f1f59263a717ffcef2ebcd70592431a02cf2f.tar.bz2
otp-6e1f1f59263a717ffcef2ebcd70592431a02cf2f.zip
Merge branch 'pan/win_static_openssl/OTP-9280' into dev
* pan/win_static_openssl/OTP-9280: Mend --with-ssl= in erts/configure Update OpenSSL license text in crypto Link OpenSSL libraries static on Windows
Diffstat (limited to 'otp_build')
-rwxr-xr-xotp_build15
1 files changed, 8 insertions, 7 deletions
diff --git a/otp_build b/otp_build
index 1172592415..aebb91372c 100755
--- a/otp_build
+++ b/otp_build
@@ -186,15 +186,16 @@ set_config_flags ()
if target_contains free_source; then
CONFIG_FLAGS="$CONFIG_FLAGS --host=$TARGET"
fi
+ # Link SSL static for all binary distributions if not overridden
+ # Even for win32 starting with R14B03
+ XX=`echo $* | grep -v dynamic-ssl-lib`
+ if [ "$*" = "$XX" ]; then
+ CONFIG_FLAGS="--disable-dynamic-ssl-lib $CONFIG_FLAGS"
+ fi
if target_contains win32; then
- CONFIG_FLAGS="--build=$BUILDSYS build_alias=win32 --host=win32 --target=win32 $CONFIG_FLAGS"
- else
- # Link SSL static for all binary distributions if not overridden
- XX=`echo $* | grep -v dynamic-ssl-lib`
- if [ "$*" = "$XX" ]; then
- CONFIG_FLAGS="--disable-dynamic-ssl-lib $CONFIG_FLAGS"
- fi
+ CONFIG_FLAGS="--build=$BUILDSYS build_alias=win32 --host=win32 --target=win32 $CONFIG_FLAGS"
fi
+
if [ "x$OVERRIDE_CONFIG_CACHE" = "x" ]; then
CONFIG_FLAGS="$CONFIG_FLAGS --cache-file=/dev/null"
else