mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	bpo-32233: Fix build with --with-system-libmpdec. (#4739)
This commit is contained in:
		
							parent
							
								
									92a3c6f493
								
							
						
					
					
						commit
						bd4ed77f73
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		
							
								
								
									
										3
									
								
								setup.py
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								setup.py
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -2069,6 +2069,7 @@ def _decimal_ext(self):
 | 
			
		|||
                                                         'Modules',
 | 
			
		||||
                                                         '_decimal',
 | 
			
		||||
                                                         'libmpdec'))]
 | 
			
		||||
            libraries = ['m']
 | 
			
		||||
            sources = [
 | 
			
		||||
              '_decimal/_decimal.c',
 | 
			
		||||
              '_decimal/libmpdec/basearith.c',
 | 
			
		||||
| 
						 | 
				
			
			@ -2164,7 +2165,7 @@ def _decimal_ext(self):
 | 
			
		|||
        ext = Extension (
 | 
			
		||||
            '_decimal',
 | 
			
		||||
            include_dirs=include_dirs,
 | 
			
		||||
            libraries=['m'],
 | 
			
		||||
            libraries=libraries,
 | 
			
		||||
            define_macros=define_macros,
 | 
			
		||||
            undef_macros=undef_macros,
 | 
			
		||||
            extra_compile_args=extra_compile_args,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue