mirror of
https://github.com/webui-dev/webui.git
synced 2024-09-11 14:06:09 +03:00
fix: zig cross compile from linux to windows error
This commit is contained in:
parent
4f6fbc58d0
commit
f888f15dbd
@ -96,7 +96,7 @@ fn addLinkerFlags(b: *Build, webui: *Compile, enable_tls: bool) !void {
|
|||||||
webui.linkFramework("WebKit");
|
webui.linkFramework("WebKit");
|
||||||
} else if (is_windows) {
|
} else if (is_windows) {
|
||||||
webui.linkSystemLibrary("ws2_32");
|
webui.linkSystemLibrary("ws2_32");
|
||||||
webui.linkSystemLibrary("Ole32");
|
webui.linkSystemLibrary("ole32");
|
||||||
if (webui_target.abi == .msvc) {
|
if (webui_target.abi == .msvc) {
|
||||||
webui.linkSystemLibrary("Advapi32");
|
webui.linkSystemLibrary("Advapi32");
|
||||||
webui.linkSystemLibrary("Shell32");
|
webui.linkSystemLibrary("Shell32");
|
||||||
|
Loading…
Reference in New Issue
Block a user