diff options
author | Lawrence D'Oliveiro <from-blender@geek-central.gen.nz> | 2014-02-04 21:55:32 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-02-04 22:01:10 +0400 |
commit | cb0a5adc562b872c70675a032d85a30438e72192 (patch) | |
tree | 233c2e0a6ee475ff11f50e4879099a9b7ea12af1 /build_files/scons/config | |
parent | 959da7477d1718fb8f9a5c500df57a318689b84d (diff) |
SCons: cleaner determination of 32-bit/64-bit builds
Try not to be x86-centric, remove unneeded blenderdeps variable.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D240
Diffstat (limited to 'build_files/scons/config')
-rw-r--r-- | build_files/scons/config/Modules/FindPython.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build_files/scons/config/Modules/FindPython.py b/build_files/scons/config/Modules/FindPython.py index 03c9d5487d0..f7956e96580 100644 --- a/build_files/scons/config/Modules/FindPython.py +++ b/build_files/scons/config/Modules/FindPython.py @@ -1,4 +1,5 @@ import os +import platform def FindPython(): all_abi_flags = ['m', 'mu', ''] @@ -7,7 +8,7 @@ def FindPython(): abi_flags = "m" # Most common for linux distros version = "3.3" - _arch = "x86_64-linux-gnu" + _arch = platform.uname()[4] + "-linux-gnu" # Determine ABI flags used on this system include = os.path.join(python, "include") |