- Issue #17029: Let h2py search the multiarch system include directory.

This commit is contained in:
doko@python.org 2013-01-25 13:19:35 +01:00
commit 0c77bf757f
5 changed files with 18 additions and 0 deletions

View file

@ -50,6 +50,11 @@ except KeyError:
searchdirs=os.environ['INCLUDE'].split(';')
except KeyError:
searchdirs=['/usr/include']
try:
searchdirs.insert(0, os.path.join('/usr/include',
os.environ['MULTIARCH']))
except KeyError:
pass
def main():
global filedict