diff --git a/build/nuke/Native/Vkd3d.cs b/build/nuke/Native/Vkd3d.cs index 694a8f2f93..8f075df036 100644 --- a/build/nuke/Native/Vkd3d.cs +++ b/build/nuke/Native/Vkd3d.cs @@ -51,6 +51,12 @@ partial class Build { var vkd3dShaderCompiler = RootDirectory / "src" / "Microsoft" / "Vkd3dCompiler"; var runtimes = RootDirectory / "src" / "Native" / "Silk.NET.Vkd3d.Native" / "runtimes"; + // Get rid of the Vulkan library check since we will not be needing it. + File.WriteAllText( + Vkd3dPath / "configure.ac", + File.ReadAllText(Vkd3dPath / "configure.ac") + .Replace("[VKD3D_CHECK_VULKAN]", "[]")); + foreach (var (triple, rid) in new[] { ("x86_64-linux-gnu", "linux-x64"), @@ -102,6 +108,8 @@ partial class Build { } } + Git("checkout HEAD configure.ac", Vkd3dPath); + PrUpdatedNativeBinary("Vkd3d"); } )