Kaydet (Commit) 5cd975c6 authored tarafından Guido van Rossum's avatar Guido van Rossum

Patch by Chris Herborth:

BeOS headers live in various non-standard places;
luckily, there's an environment variable that lists them all.
üst fc4966b7
......@@ -46,7 +46,13 @@ except KeyError:
try:
searchdirs=string.splitfields(os.environ['INCLUDE'],';')
except KeyError:
searchdirs=['/usr/include']
try:
if string.find( sys.platform, "beos" ) == 0:
searchdirs=string.splitfields(os.environ['BEINCLUDES'],';')
else:
raise KeyError
except KeyError:
searchdirs=['/usr/include']
def main():
global filedict
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment