fix wrong flag passed to zig

This commit is contained in:
Folkert 2022-10-26 16:31:20 +02:00
parent f0b65048cd
commit 52404a4085
No known key found for this signature in database
GPG Key ID: 1F17F6FFD112B97C

View File

@ -219,9 +219,8 @@ pub fn build_zig_host_native(
// include the zig runtime
// "-fcompiler-rt", compiler-rt causes segfaults on windows; investigate why
// include libc
"--library",
"c",
"-dynamic",
"-lc",
"-rdynamic",
// cross-compile?
"-target",
target,