diff options
| author | Rémi Verschelde | 2017-07-31 00:14:04 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2017-07-31 00:14:04 +0200 |
| commit | 3a8550675f63b94554ddb967de66f379cf7a2ab3 (patch) | |
| tree | 28dca53ed0c19a636326c310edcf8bddd0364b53 | |
| parent | c1f54e1a45cd32fcf6e5e7d9c81715c4fcb7e27b (diff) | |
| download | godot-3a8550675f63b94554ddb967de66f379cf7a2ab3.tar.gz godot-3a8550675f63b94554ddb967de66f379cf7a2ab3.tar.zst godot-3a8550675f63b94554ddb967de66f379cf7a2ab3.zip | |
| -rw-r--r-- | platform/x11/detect.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index a2171901e..b80819f0f 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -20,9 +20,8 @@ def can_build(): if sys.platform == "darwin": return False # no x11 on mac for now - errorval = os.system("pkg-config --version > /dev/null") - - if (errorval): + x11_error = os.system("pkg-config --version > /dev/null") + if (x11_error): print("pkg-config not found.. x11 disabled.") return False @@ -31,11 +30,6 @@ def can_build(): print("X11 not found.. x11 disabled.") return False - ssl_error = os.system("pkg-config openssl --modversion > /dev/null ") - if (ssl_error): - print("OpenSSL not found.. x11 disabled.") - return False - x11_error = os.system("pkg-config xcursor --modversion > /dev/null ") if (x11_error): print("xcursor not found.. x11 disabled.") |
