diff options
Diffstat (limited to 'modules/openssl/SCsub')
| -rw-r--r-- | modules/openssl/SCsub | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/openssl/SCsub b/modules/openssl/SCsub index 7b7c94ebe..3c5de7281 100644 --- a/modules/openssl/SCsub +++ b/modules/openssl/SCsub @@ -6,7 +6,7 @@ Import('env_modules') env_openssl = env_modules.Clone() # Thirdparty source files -if (env["openssl"] != "system"): # builtin +if (env["openssl"] != "system"): # builtin thirdparty_dir = "#thirdparty/openssl/" thirdparty_sources = [ @@ -661,15 +661,15 @@ if (env["openssl"] != "system"): # builtin "crypto/modes", "openssl", ] - env_openssl.Append(CPPPATH = [thirdparty_dir + "/" + dir for dir in thirdparty_include_paths]) + env_openssl.Append(CPPPATH=[thirdparty_dir + "/" + dir for dir in thirdparty_include_paths]) - env_openssl.Append(CPPFLAGS = ["-DOPENSSL_NO_ASM", "-DOPENSSL_THREADS", "-DL_ENDIAN"]) + env_openssl.Append(CPPFLAGS=["-DOPENSSL_NO_ASM", "-DOPENSSL_THREADS", "-DL_ENDIAN"]) # Workaround for compilation error with GCC/Clang when -Werror is too greedy (GH-4517) import os import methods - if not (os.name=="nt" and os.getenv("VSINSTALLDIR") != None): # not Windows and not MSVC - env_openssl.Append(CFLAGS = ["-Wno-error=implicit-function-declaration"]) + if not (os.name == "nt" and os.getenv("VSINSTALLDIR") != None): # not Windows and not MSVC + env_openssl.Append(CFLAGS=["-Wno-error=implicit-function-declaration"]) # Module sources |
