X11: Abort build if using OpenSSL 1.1.0+
Workaround until #8624 is fixed.
This commit is contained in:
parent
adafaf15aa
commit
2976801012
1 changed files with 9 additions and 0 deletions
|
@ -141,6 +141,15 @@ def configure(env):
|
|||
env.ParseConfig('pkg-config xrandr --cflags --libs')
|
||||
|
||||
if (env['builtin_openssl'] == 'no'):
|
||||
# Currently not compatible with OpenSSL 1.1.0+
|
||||
# https://github.com/godotengine/godot/issues/8624
|
||||
import subprocess
|
||||
openssl_version = subprocess.check_output(['pkg-config', 'openssl', '--modversion']).strip('\n')
|
||||
if (openssl_version >= "1.1.0"):
|
||||
print("Error: Found system-installed OpenSSL %s, currently only supporting version 1.0.x." % openssl_version)
|
||||
print("Aborting.. You can compile with 'builtin_openssl=yes' to use the bundled version.\n")
|
||||
sys.exit(255)
|
||||
|
||||
env.ParseConfig('pkg-config openssl --cflags --libs')
|
||||
|
||||
if (env['builtin_libwebp'] == 'no'):
|
||||
|
|
Loading…
Reference in a new issue