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:
Ben Noordhuis 2013-11-27 17:28:02 +01:00
parent 74457d08ba
commit 7bb7371fc5

View File

@ -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()