mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
- Issue #17029: Let h2py search the multiarch system include directory.
This commit is contained in:
parent
e7e9c32195
commit
3e6e2ac31d
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