mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	BeOS doesn't have a libm.a, either; noted by Donn Cave
This commit is contained in:
		
							parent
							
								
									8820a535c1
								
							
						
					
					
						commit
						3c044942ab
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		
							
								
								
									
										4
									
								
								setup.py
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								setup.py
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -118,6 +118,8 @@ class PyBuildExt(build_ext):
 | 
			
		|||
        platform = sys.platform
 | 
			
		||||
        if platform[:6] =='cygwin':
 | 
			
		||||
            platform = 'cygwin'
 | 
			
		||||
        elif platform[:4] =='beos':
 | 
			
		||||
            platform = 'beos'
 | 
			
		||||
 | 
			
		||||
        return platform
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -139,7 +141,7 @@ class PyBuildExt(build_ext):
 | 
			
		|||
 | 
			
		||||
        # Check for MacOS X, which doesn't need libm.a at all
 | 
			
		||||
        math_libs = ['m']
 | 
			
		||||
        if platform == 'Darwin1.2':
 | 
			
		||||
        if platform in ['Darwin1.2', 'beos']:
 | 
			
		||||
            math_libs = []
 | 
			
		||||
 | 
			
		||||
        # XXX Omitted modules: gl, pure, dl, SGI-specific modules
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue