diff options
| author | Rémi Verschelde | 2017-05-06 19:00:50 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2017-05-06 19:01:10 +0200 |
| commit | 29768010126edda76229c5b14c85e7d72f1880f4 (patch) | |
| tree | 9cb710197ef1de45be6dbc7aebd06e515484b911 /platform/x11/detect.py | |
| parent | adafaf15aa92d63129dffde09320f1a8d24ec43c (diff) | |
| download | godot-29768010126edda76229c5b14c85e7d72f1880f4.tar.gz godot-29768010126edda76229c5b14c85e7d72f1880f4.tar.zst godot-29768010126edda76229c5b14c85e7d72f1880f4.zip | |
Diffstat (limited to 'platform/x11/detect.py')
| -rw-r--r-- | platform/x11/detect.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 34306c8d0..0ba0f6839 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -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'): |
