From effd8c9737b9c5b938af885b414e994fb6025cac Mon Sep 17 00:00:00 2001 From: Miguel Portilla Date: Fri, 18 Nov 2016 10:35:05 -0500 Subject: [PATCH] Fix scons 64bit OS detection --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index 028d903b2..c45fe3dc0 100644 --- a/SConstruct +++ b/SConstruct @@ -123,9 +123,9 @@ import time import glob import SCons.Action -if (platform.architecture()[0] != '64bit'): +if (not platform.machine().endswith('64')): print('Warning: Detected {} architecture. Rippled requires a 64-bit OS.'.format( - platform.architecture()[0])); + platform.machine())); sys.path.append(os.path.join('src', 'ripple', 'beast', 'site_scons')) sys.path.append(os.path.join('src', 'ripple', 'site_scons'))