Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

Commit 800b56f

Browse files
yichoialexcrichton
authored andcommitted
fix to support android cross compile on mac
1 parent a91b91b commit 800b56f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gyp_uv.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ def run_gyp(args):
9494
if not any(a.startswith('-Dcomponent=') for a in args):
9595
args.append('-Dcomponent=static_library')
9696

97+
if sys.platform == 'darwin' and '-DOS=android' in sys.argv[1:]:
98+
sys.platform='linux'
99+
97100
gyp_args = list(args)
98101
print gyp_args
99102
run_gyp(gyp_args)

0 commit comments

Comments
 (0)