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:
authorAntony Riakiotakis <kalast@gmail.com>2013-01-22 22:13:22 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-01-22 22:13:22 +0400
commita099bd8bb0d45c605802ff92567200fce307239c (patch)
treec8649990db375b6458c7ec4de42d5e8de923ed6e /build_files
parent9e30e7cdaffc3b07d18fe58362bc289571f99b34 (diff)
make sure config directory is initialized or python complains
Diffstat (limited to 'build_files')
-rw-r--r--build_files/scons/config/Modules/FindPython.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_files/scons/config/Modules/FindPython.py b/build_files/scons/config/Modules/FindPython.py
index bdf314e9263..01215753cf7 100644
--- a/build_files/scons/config/Modules/FindPython.py
+++ b/build_files/scons/config/Modules/FindPython.py
@@ -19,6 +19,8 @@ def FindPython():
incconf64 = os.path.join(include, "x86_64-linux-gnu", "python" + version + cur_flags, "pyconfig.h")
if os.path.exists(incconf64):
incconf = os.path.join(include, "x86_64-linux-gnu", "python" + version + cur_flags)
+ else:
+ incconf = ''
# Determine whether python is in /usr/lib or /usr/lib64
lib32 = os.path.join(python, "lib", "python" + version, "sysconfig.py")