another bunch of build fixes

This commit is contained in:
roberto@sirius
2011-08-29 08:02:37 +02:00
parent 05136e74b4
commit b428bd3b87
+5 -2
View File
@@ -236,12 +236,15 @@ class uConf(object):
elif line.startswith('End of search list.'):
add_it = False
elif add_it:
self.include_path.append(line.strip())
self.include_path.append(line.strip().split()[0])
if not self.include_path:
raise
except:
self.include_path = ['/usr/include', '/usr/local/include']
print("detected include path:", self.include_path)
print("detected include path: %s" % self.include_path)
gcc_major = int(gcc_version.split('.')[0])
gcc_minor = int(gcc_version.split('.')[1])