Add required env variables to desktop native build script (#9869)

This commit is contained in:
Bernd Schoolmann 2024-07-03 20:00:00 +02:00 committed by GitHub
parent 0b08cd0175
commit d7a0510ef9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,8 @@ switch (process.platform) {
default:
targets = ['x86_64-unknown-linux-musl'];
process.env["PKG_CONFIG_ALLOW_CROSS"] = "1";
process.env["PKG_CONFIG_ALL_STATIC"] = "1";
break;
}