From 8087be05c75c72910447fc5b630ccf21f4f4d67c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 31 Oct 2016 07:52:40 +0100 Subject: [PATCH] scons: msvc_is_detected not available in 2.1 --- modules/openssl/SCsub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openssl/SCsub b/modules/openssl/SCsub index 19540172486..b86218bd084 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"])