From 7bb7371fc5ad7cdabcf997e5002d5fe8f5e47abd Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 27 Nov 2013 17:28:02 +0100 Subject: [PATCH] build: make `./gyp_uv.py -f eclipse` work The eclipse backend (like the ninja backend) does not support the --generator_output switch. --- gyp_uv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gyp_uv.py b/gyp_uv.py index 651bd095..4ba69167 100755 --- a/gyp_uv.py +++ b/gyp_uv.py @@ -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()