You've already forked godot
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user