mirror of
https://github.com/napi-rs/napi-rs.git
synced 2025-12-08 19:56:07 +00:00
fix(cli): CXX path for s390x (#2509)
This commit is contained in:
parent
1fe6ad0430
commit
134c1a6778
@ -256,15 +256,11 @@ class Builder {
|
||||
)
|
||||
}
|
||||
if (!process.env.CXX && !process.env.TARGET_CXX) {
|
||||
this.envs[`CXX`] = join(
|
||||
toolchainPath,
|
||||
'bin',
|
||||
`${this.target.triple}-g++`,
|
||||
)
|
||||
this.envs[`CXX`] = join(toolchainPath, 'bin', `${crossTargetName}-g++`)
|
||||
this.envs[`TARGET_CXX`] = join(
|
||||
toolchainPath,
|
||||
'bin',
|
||||
`${this.target.triple}-g++`,
|
||||
`${crossTargetName}-g++`,
|
||||
)
|
||||
}
|
||||
if (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user