Skip to content

Commit

Permalink
Allow overriding platform for cross-compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphtheninja committed Jan 22, 2019
1 parent ffb6aef commit 1125e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = prebuildify
function prebuildify (opts, cb) {
opts = xtend({
arch: process.env.ARCH || os.arch(),
platform: os.platform(),
platform: process.env.TARGET_PLATFORM || os.platform(),
cwd: '.',
targets: []
}, opts)
Expand Down

0 comments on commit 1125e68

Please sign in to comment.