make sure config directory is initialized or python complains
authorAntony Riakiotakis <kalast@gmail.com>
Tue, 22 Jan 2013 18:13:22 +0000 (18:13 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Tue, 22 Jan 2013 18:13:22 +0000 (18:13 +0000)
build_files/scons/config/Modules/FindPython.py

index bdf314e..0121575 100644 (file)
@@ -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")