mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Linux: Don't try to link system embree3 on unsupported archs
(cherry picked from commit afb8693715)
This commit is contained in:
parent
c8f64c68a5
commit
c6f7675b1f
1 changed files with 1 additions and 2 deletions
|
|
@ -277,11 +277,10 @@ def configure(env: "Environment"):
|
||||||
env.Prepend(CPPPATH=["/usr/include/recastnavigation"])
|
env.Prepend(CPPPATH=["/usr/include/recastnavigation"])
|
||||||
env.Append(LIBS=["Recast"])
|
env.Append(LIBS=["Recast"])
|
||||||
|
|
||||||
if not env["builtin_embree"]:
|
if not env["builtin_embree"] and env["arch"] in ["x86_64", "arm64"]:
|
||||||
# No pkgconfig file so far, hardcode expected lib name.
|
# No pkgconfig file so far, hardcode expected lib name.
|
||||||
env.Append(LIBS=["embree3"])
|
env.Append(LIBS=["embree3"])
|
||||||
|
|
||||||
## Flags
|
|
||||||
if env["fontconfig"]:
|
if env["fontconfig"]:
|
||||||
if not env["use_sowrap"]:
|
if not env["use_sowrap"]:
|
||||||
if os.system("pkg-config --exists fontconfig") == 0: # 0 means found
|
if os.system("pkg-config --exists fontconfig") == 0: # 0 means found
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue