summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/detect.py
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2023-07-12 17:15:25 +0200
committerYuri Sizov <yuris@humnom.net>2023-07-12 17:15:25 +0200
commit661c3954a6f76aa58ecce5dc2e0e476a7c8ec6b1 (patch)
tree7164b32813df5c6455ffd267f4b3f8a8b0bca862 /platform/linuxbsd/detect.py
parentf25233cbc9386d35baa4c5a9aa8bbe998c999440 (diff)
parent34a07b81ae640dc877a47091ca9a63d1a2cba07b (diff)
downloadredot-engine-661c3954a6f76aa58ecce5dc2e0e476a7c8ec6b1.tar.gz
Merge pull request #73443 from akien-mga/unbundle-openxr
Allow unbundling OpenXR (for Linux distros)
Diffstat (limited to 'platform/linuxbsd/detect.py')
-rw-r--r--platform/linuxbsd/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
index ce743fbf8a..a723bb5d58 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -291,6 +291,9 @@ def configure(env: "Environment"):
# No pkgconfig file so far, hardcode expected lib name.
env.Append(LIBS=["embree3"])
+ if not env["builtin_openxr"]:
+ env.ParseConfig("pkg-config openxr --cflags --libs")
+
if env["fontconfig"]:
if not env["use_sowrap"]:
if os.system("pkg-config --exists fontconfig") == 0: # 0 means found