Update beforeBuild.js
This commit is contained in:
parent
1f07a29663
commit
dd54a23a61
|
|
@ -4,6 +4,7 @@ const archMap = {
|
|||
}
|
||||
|
||||
module.exports = async (buildContext) => {
|
||||
console.log(buildContext)
|
||||
if (buildContext.platform !== "linux") return true
|
||||
|
||||
if (buildContext.arch in archMap) {
|
||||
|
|
@ -14,5 +15,6 @@ module.exports = async (buildContext) => {
|
|||
process.env.CXX = "g++"
|
||||
}
|
||||
|
||||
console.log(process.env.CXX)
|
||||
return true
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue