You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
X11: Do not force require system OpenSSL to build
This commit is contained in:
@@ -20,9 +20,8 @@ def can_build():
|
|||||||
if sys.platform == "darwin":
|
if sys.platform == "darwin":
|
||||||
return False # no x11 on mac for now
|
return False # no x11 on mac for now
|
||||||
|
|
||||||
errorval = os.system("pkg-config --version > /dev/null")
|
x11_error = os.system("pkg-config --version > /dev/null")
|
||||||
|
if (x11_error):
|
||||||
if (errorval):
|
|
||||||
print("pkg-config not found.. x11 disabled.")
|
print("pkg-config not found.. x11 disabled.")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
@@ -31,11 +30,6 @@ def can_build():
|
|||||||
print("X11 not found.. x11 disabled.")
|
print("X11 not found.. x11 disabled.")
|
||||||
return False
|
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 ")
|
x11_error = os.system("pkg-config xcursor --modversion > /dev/null ")
|
||||||
if (x11_error):
|
if (x11_error):
|
||||||
print("xcursor not found.. x11 disabled.")
|
print("xcursor not found.. x11 disabled.")
|
||||||
|
|||||||
Reference in New Issue
Block a user