fix(cli): swap -lgcc_s with -lunwind
This commit is contained in:
parent
cdcab888ee
commit
1799aa94e3
1 changed files with 6 additions and 1 deletions
|
@ -48,7 +48,12 @@ function processZigLinkerArgs(platform: string, args: string[]) {
|
|||
return newArgs
|
||||
}
|
||||
if (platform.includes('linux')) {
|
||||
return args.filter((arg) => arg !== '-lgcc_s' && arg !== '-lunwind')
|
||||
return args.map((arg) => {
|
||||
if (arg === '-lgcc_s') {
|
||||
return '-lunwind'
|
||||
}
|
||||
return arg
|
||||
})
|
||||
}
|
||||
return args
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue