build: fix windows debug builds
Some checks failed
CI / build (-Dbuild-tests -Dbuild-benchmarks, true, macos-latest, 0.14.0) (push) Has been cancelled
CI / build (macos-latest, master) (push) Has been cancelled
CI / build (ubuntu-latest, 0.14.0) (push) Has been cancelled
CI / build (windows-latest, 0.14.0) (push) Has been cancelled
Some checks failed
CI / build (-Dbuild-tests -Dbuild-benchmarks, true, macos-latest, 0.14.0) (push) Has been cancelled
CI / build (macos-latest, master) (push) Has been cancelled
CI / build (ubuntu-latest, 0.14.0) (push) Has been cancelled
CI / build (windows-latest, 0.14.0) (push) Has been cancelled
This commit is contained in:
parent
e398fefdf6
commit
fead2457be
@ -55,6 +55,8 @@ pub fn build(b: *std.Build) void {
|
|||||||
lib.linkSystemLibrary("dbghelp");
|
lib.linkSystemLibrary("dbghelp");
|
||||||
lib.linkSystemLibrary("ole32");
|
lib.linkSystemLibrary("ole32");
|
||||||
lib.linkSystemLibrary("shell32");
|
lib.linkSystemLibrary("shell32");
|
||||||
|
if (optimize == .Debug)
|
||||||
|
lib.linkSystemLibrary("ucrtbased");
|
||||||
lib.addCSourceFiles(.{
|
lib.addCSourceFiles(.{
|
||||||
.root = src_root,
|
.root = src_root,
|
||||||
.files = win_sources,
|
.files = win_sources,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user