Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build_files/scons/config/Modules/FindPython.py')
-rw-r--r--build_files/scons/config/Modules/FindPython.py3
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")