diff options
author | chexiongsheng <chexiongsheng@qq.com> | 2022-09-21 18:02:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-21 18:02:40 +0800 |
commit | 6c8c3d89b0a0f2579af4873ef888f1052c660cdc (patch) | |
tree | d06f191c65c0bf0dced33f9822abe124b41f6162 /configure.py | |
parent | 68a3618bb43f460d0a4afe31a0b914b2a6201463 (diff) | |
download | node-new-6c8c3d89b0a0f2579af4873ef888f1052c660cdc.tar.gz |
gyp: libnode for ios app embedding
PR-URL: https://github.com/nodejs/node/pull/44210
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.py b/configure.py index fe2e868170..a2fc6d5c5a 100755 --- a/configure.py +++ b/configure.py @@ -45,7 +45,7 @@ from utils import SearchFiles 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', 'x64', 'x86', 'x86_64', 's390x', 'riscv64', 'loong64') valid_arm_float_abi = ('soft', 'softfp', 'hard') @@ -2030,7 +2030,7 @@ gyp_args = ['--no-parallel', '-Dconfiguring_node=1'] gyp_args += ['-Dbuild_type=' + config['BUILDTYPE']] if options.use_ninja: - gyp_args += ['-f', 'ninja'] + gyp_args += ['-f', 'ninja-' + flavor] elif flavor == 'win' and sys.platform != 'msys': gyp_args += ['-f', 'msvs', '-G', 'msvs_version=auto'] else: |