mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-03 00:45:49 +00:00
Fix scons 64bit OS detection
This commit is contained in:
committed by
Nik Bougalis
parent
a7c4d682d2
commit
effd8c9737
@@ -123,9 +123,9 @@ import time
|
|||||||
import glob
|
import glob
|
||||||
import SCons.Action
|
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(
|
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', 'beast', 'site_scons'))
|
||||||
sys.path.append(os.path.join('src', 'ripple', 'site_scons'))
|
sys.path.append(os.path.join('src', 'ripple', 'site_scons'))
|
||||||
|
|||||||
Reference in New Issue
Block a user