From 0158380cfce8ad2a503988d4aa44329523a4b53b Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Wed, 9 Jul 2014 23:08:58 -0700 Subject: [PATCH] Fixing xenia-build on OSX. --- xenia-build.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xenia-build.py b/xenia-build.py index 53bcf1cfc..248128236 100755 --- a/xenia-build.py +++ b/xenia-build.py @@ -285,7 +285,9 @@ class SetupCommand(Command): # Binutils. # TODO(benvanik): disable on Windows print('- binutils...') - if sys.platform == 'win32': + if True: + print('binutils disabled') + elif sys.platform == 'win32': print('WARNING: ignoring binutils on Windows... don\'t change tests!') else: if not os.path.exists('build/binutils'): @@ -364,7 +366,7 @@ def run_gyp(format): '--toplevel-dir=.', '--generator-output=build/xenia/', # Set the VS version. - '-G msvs_version=%s' % (os.environ['VSVERSION'] or 2013), + '-G msvs_version=%s' % (os.environ.get('VSVERSION', 2013)), #'-D windows_sdk_dir=%s' % (os.environ['WINDOWSSDKDIR']), '-D windows_sdk_dir="C:\\Program Files (x86)\\Windows Kits\\8.1"', 'xenia.gyp',