mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Patch by Chris Herborth:
BeOS headers live in various non-standard places; luckily, there's an environment variable that lists them all.
This commit is contained in:
		
							parent
							
								
									fc4966b7af
								
							
						
					
					
						commit
						5cd975c678
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		|  | @ -45,6 +45,12 @@ | |||
| except KeyError: | ||||
| 	try: | ||||
| 		searchdirs=string.splitfields(os.environ['INCLUDE'],';') | ||||
| 	except KeyError: | ||||
| 		try: | ||||
| 			if string.find( sys.platform, "beos" ) == 0: | ||||
| 				searchdirs=string.splitfields(os.environ['BEINCLUDES'],';') | ||||
| 			else: | ||||
| 				raise KeyError | ||||
| 		except KeyError: | ||||
| 			searchdirs=['/usr/include'] | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum