diff --git a/shell/openxr/mobile/AndroidMain.cpp b/shell/openxr/mobile/AndroidMain.cpp index f8c4e11b9b..5030d38f5b 100644 --- a/shell/openxr/mobile/AndroidMain.cpp +++ b/shell/openxr/mobile/AndroidMain.cpp @@ -36,7 +36,9 @@ #endif // IGL_PLATFORM_WINDOWS static XrInstance gInstance_; -static XrInstance getXrInstance() { + +// This function cannot be declared as `static` due to our Android GitHub builds +XrInstance getXrInstance() { return gInstance_; }