File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,18 @@ pub fn build(b: *std.Build) !void {
2626 superhtml .addImport ("scripty" , scripty .module ("scripty" ));
2727 superhtml .addImport ("tracy" , tracy .module ("tracy" ));
2828
29+ if (target .result .os .tag == .windows ) {
30+ superhtml .linkSystemLibrary ("advapi32" , .{});
31+
32+ // Remove this if/when known-folders adds this:
33+ superhtml .linkSystemLibrary ("shell32" , .{});
34+ superhtml .linkSystemLibrary ("ole32" , .{});
35+ }
36+
2937 if (enable_tracy ) {
3038 if (target .result .os .tag == .windows ) {
3139 superhtml .linkSystemLibrary ("dbghelp" , .{});
32- superhtml .linkSystemLibrary ("ws2_32" , .{});
3340 }
34-
3541 // superhtml.addObjectFile(b.path("libTracyClient.a"));
3642 //
3743 superhtml .linkSystemLibrary ("TracyClient" , .{});
Original file line number Diff line number Diff line change 1010 .lazy = true ,
1111 },
1212 .known_folders = .{
13- .url = "git+https://github.com/ziglibs/known-folders#aa24df42183ad415d10bc0a33e6238c437fc0f59 " ,
14- .hash = "known_folders-0.0.0-Fy-PJtLDAADGDOwYwMkVydMSTp_aN-nfjCZw6qPQ2ECL " ,
13+ .url = "git+https://github.com/ziglibs/known-folders#ab5cf5feb936fa3b72c95d3ad0c0c67791937ba1 " ,
14+ .hash = "known_folders-0.0.0-Fy-PJtTTAADUOhGKM0sxzG4eMkNQxRvx9e5dfHVyaeA3 " ,
1515 },
1616 .tracy = .{
1717 .url = "git+https://github.com/kristoff-it/tracy#67d2d89e351048c76fc6d161e0ac09d8a831dc60" ,
You can’t perform that action at this time.
0 commit comments