mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
- Issue #17029: Let h2py search the multiarch system include directory.
This commit is contained in:
commit
0c77bf757f
5 changed files with 18 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue