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

Commit

Permalink
fix to support android cross compile on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
yichoi authored and alexcrichton committed Apr 19, 2014
1 parent 20d092e commit 4349589
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gyp_uv.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ def run_gyp(args):
if not any(a.startswith('-Dcomponent=') for a in args):
args.append('-Dcomponent=static_library')

if sys.platform == 'darwin' and '-DOS=android' in sys.argv[1:]:
sys.platform='linux'

gyp_args = list(args)
print gyp_args
run_gyp(gyp_args)

0 comments on commit 4349589

Please sign in to comment.