mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Issue 10126 - backported distutils fix for the enable-share mode into packaging
This commit is contained in:
		
							parent
							
								
									1e045b1831
								
							
						
					
					
						commit
						2bc55e482e
					
				
					 3 changed files with 30 additions and 7 deletions
				
			
		|  | @ -658,9 +658,9 @@ def get_libraries(self, ext): | |||
| 
 | ||||
|         else: | ||||
|             if sysconfig.get_config_var('Py_ENABLE_SHARED'): | ||||
|                 template = "python%d.%d" | ||||
|                 pythonlib = (template % | ||||
|                              (sys.hexversion >> 24, (sys.hexversion >> 16) & 0xff)) | ||||
|                 pythonlib = 'python{}.{}{}'.format( | ||||
|                     sys.hexversion >> 24, (sys.hexversion >> 16) & 0xff, | ||||
|                     sys.abiflags) | ||||
|                 return ext.libraries + [pythonlib] | ||||
|             else: | ||||
|                 return ext.libraries | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tarek Ziade
						Tarek Ziade