build: make ./gyp_uv.py -f eclipse work
The eclipse backend (like the ninja backend) does not support the --generator_output switch.
This commit is contained in:
parent
74457d08ba
commit
7bb7371fc5
@ -75,7 +75,7 @@ if __name__ == '__main__':
|
||||
if sys.platform != 'win32':
|
||||
if '-f' not in args:
|
||||
args.extend('-f make'.split())
|
||||
if 'ninja' not in args:
|
||||
if 'eclipse' not in args and 'ninja' not in args:
|
||||
args.extend(['-Goutput_dir=' + output_dir])
|
||||
args.extend(['--generator-output', output_dir])
|
||||
(major, minor), is_clang = compiler_version()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user