1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix build on OpenBSD

Like FreeBSD, OpenBSD cannot build the camera module because it uses interfaces only provided by Linux
This commit is contained in:
Volker Schlecht
2025-08-30 15:02:01 +02:00
committed by GitHub
parent 825ef2387f
commit 54eb2799da

View File

@@ -1,7 +1,7 @@
def can_build(env, platform):
import sys
if sys.platform.startswith("freebsd"):
if sys.platform.startswith("freebsd") or sys.platform.startswith("openbsd"):
return False
return platform == "macos" or platform == "windows" or platform == "linuxbsd" or platform == "android"