From d6c856a8f23ef03169be7efd781f7b63320f23f0 Mon Sep 17 00:00:00 2001 From: Joseph Coffland Date: Fri, 4 Mar 2016 13:57:57 -0800 Subject: [PATCH] 64-bit install --- SConstruct | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index a287200..cb0579e 100644 --- a/SConstruct +++ b/SConstruct @@ -7,6 +7,8 @@ except Exception, e: raise Exception, 'CBANG_HOME not set?\n' + str(e) env.CBLoadTools('packager run_distutils osx fah-client-version') +env.CBAddVariables( + BoolVariable('cross_mingw', 'Build with mingw cross compiler', 0)) conf = env.CBConfigure() # Version @@ -29,7 +31,7 @@ if env['PLATFORM'] == 'darwin': env['RUN_DISTUTILSOPTS'] = 'py2app' target_dir = 'dist/FAHControl.app' -elif env['PLATFORM'] == 'win32': +elif env['PLATFORM'] == 'win32' or int(env.get('cross_mingw', 0)): env['RUN_DISTUTILSOPTS'] = 'build' target_dir = 'gui' target_pat = ''