aboutsummaryrefslogtreecommitdiff
path: root/modules/openssl/SCsub
diff options
context:
space:
mode:
authorRémi Verschelde2016-10-31 07:52:40 +0100
committerRémi Verschelde2016-10-31 07:52:40 +0100
commit8087be05c75c72910447fc5b630ccf21f4f4d67c (patch)
tree2752882f0fcc486937a766b8f35f6f0f11a716b8 /modules/openssl/SCsub
parenta20da0c0482f9d63a268188c191fdb417d19ddd8 (diff)
downloadgodot-8087be05c75c72910447fc5b630ccf21f4f4d67c.tar.gz
godot-8087be05c75c72910447fc5b630ccf21f4f4d67c.tar.zst
godot-8087be05c75c72910447fc5b630ccf21f4f4d67c.zip
scons: msvc_is_detected not available in 2.1
Diffstat (limited to '')
-rw-r--r--modules/openssl/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openssl/SCsub b/modules/openssl/SCsub
index 195401724..b86218bd0 100644
--- a/modules/openssl/SCsub
+++ b/modules/openssl/SCsub
@@ -668,7 +668,7 @@ if (env["openssl"] != "system"): # builtin
# Workaround for compilation error with GCC/Clang when -Werror is too greedy (GH-4517)
import os
import methods
- if not (os.name=="nt" and methods.msvc_is_detected()): # not Windows and not MSVC
+ if not (os.name=="nt" and os.getenv("VSINSTALLDIR") != None): # not Windows and not MSVC
env_openssl.Append(CFLAGS = ["-Wno-error=implicit-function-declaration"])