diff options
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.py b/configure.py index 8ed8524b26..f6548bebc9 100755 --- a/configure.py +++ b/configure.py @@ -44,7 +44,7 @@ from gyp_node import run_gyp parser = argparse.ArgumentParser() valid_os = ('win', 'mac', 'solaris', 'freebsd', 'openbsd', 'linux', - 'android', 'aix', 'cloudabi') + 'android', 'aix', 'cloudabi', 'ios') valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'mips64el', 'ppc', 'ppc64', 'x32','x64', 'x86', 'x86_64', 's390x') valid_arm_float_abi = ('soft', 'softfp', 'hard') @@ -1144,6 +1144,8 @@ def gcc_version_ge(version_checked): def configure_node(o): if options.dest_os == 'android': o['variables']['OS'] = 'android' + if options.dest_os == 'ios': + o['variables']['OS'] = 'ios' o['variables']['node_prefix'] = options.prefix o['variables']['node_install_npm'] = b(not options.without_npm) o['variables']['debug_node'] = b(options.debug_node) @@ -1991,6 +1993,8 @@ gyp_args += args if warn.warned and not options.verbose: warn('warnings were emitted in the configure phase') +print("gyp args:", gyp_args) + print_verbose("running: \n " + " ".join(['python', 'tools/gyp_node.py'] + gyp_args)) run_gyp(gyp_args) info('configure completed successfully') |