mirror of
https://github.com/python/cpython.git
synced 2025-11-11 19:12:05 +00:00
- Issue #17029: Let h2py search the multiarch system include directory.
This commit is contained in:
parent
b09ec9b618
commit
4e63fbe04d
5 changed files with 19 additions and 0 deletions
|
|
@ -58,6 +58,12 @@
|
|||
raise KeyError
|
||||
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