diff options
| author | Yuri Sizov <11782833+YuriSizov@users.noreply.github.com> | 2023-03-14 13:57:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-14 13:57:36 +0100 |
| commit | 258ea41ffa00a71bbb6ba9844840f18ba5802816 (patch) | |
| tree | b615e78de7fff785e8d5e191b4401da99f44367d /platform/linuxbsd/detect.py | |
| parent | 30e81fcc26ee4e9394abe2504c6dd613b06a85db (diff) | |
| parent | 84e9a79ace17094a3d0f7cde5af2f35ce2c8986f (diff) | |
Merge pull request #74884 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.1) - 2nd batch
Diffstat (limited to 'platform/linuxbsd/detect.py')
| -rw-r--r-- | platform/linuxbsd/detect.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py index 3f713d2db3..e203dca005 100644 --- a/platform/linuxbsd/detect.py +++ b/platform/linuxbsd/detect.py @@ -277,11 +277,10 @@ def configure(env: "Environment"): env.Prepend(CPPPATH=["/usr/include/recastnavigation"]) 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. env.Append(LIBS=["embree3"]) - ## Flags if env["fontconfig"]: if not env["use_sowrap"]: if os.system("pkg-config --exists fontconfig") == 0: # 0 means found |