mirror of
https://github.com/godotengine/godot
synced 2024-09-05 13:58:34 +00:00
Merge pull request #51427 from omar-polo/platform-detect-openbsd
automatically detect openbsd as platform=linuxbsd
This commit is contained in:
commit
25fd4edd29
|
@ -201,7 +201,13 @@ elif env_base["p"] != "":
|
|||
selected_platform = env_base["p"]
|
||||
else:
|
||||
# Missing `platform` argument, try to detect platform automatically
|
||||
if sys.platform.startswith("linux"):
|
||||
if (
|
||||
sys.platform.startswith("linux")
|
||||
or sys.platform.startswith("dragonfly")
|
||||
or sys.platform.startswith("freebsd")
|
||||
or sys.platform.startswith("netbsd")
|
||||
or sys.platform.startswith("openbsd")
|
||||
):
|
||||
selected_platform = "linuxbsd"
|
||||
elif sys.platform == "darwin":
|
||||
selected_platform = "osx"
|
||||
|
|
Loading…
Reference in a new issue