From aa3b04e5145fc6f2c5e6c00c9d43bddddc141f7f Mon Sep 17 00:00:00 2001 From: bjorn Date: Wed, 16 Mar 2022 15:43:07 -0700 Subject: [PATCH] tup: fix OpenXR on Android; --- Tupfile.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tupfile.lua b/Tupfile.lua index bfbd00d4..58336fed 100644 --- a/Tupfile.lua +++ b/Tupfile.lua @@ -324,8 +324,9 @@ end if config.headsets.openxr then if target == 'android' then + cflags_headset_openxr += '-Ideps/openxr/include' cflags_headset_openxr += '-Ideps/OpenXR-Oculus/Include' - lflags += 'lopenxr_loader' + lflags += '-lopenxr_loader' copy('deps/OpenXR-Oculus/Libs/Android/arm64-v8a/Release/libopenxr_loader.so', '$(bin)/%b') else if type(config.headsets.openxr) ~= 'string' then