Skip to content

Commit

Permalink
fix: pre-gyp for darwin targets if build on Linux or in Docker (#5193)
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Kukhta <Ivan.Kukhta@acronis.com>
  • Loading branch information
IKukhta and IKukhta authored Sep 17, 2020
1 parent 9164f4d commit f44206d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/util/yarn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function getGypEnv(frameworkInfo: DesktopFrameworkInfo, platform: NodeJS.
if (platform !== process.platform) {
common.npm_config_force = "true"
}
if (platform === "win32") {
if (platform === "win32" || platform === "darwin") {
common.npm_config_target_libc = "unknown"
}

Expand Down

0 comments on commit f44206d

Please sign in to comment.