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 25, 2019
1 parent d961d38 commit def1396
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 def1396

Please sign in to comment.