mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Issue #18164: merge from 3.3
This commit is contained in:
		
						commit
						2c72b51c44
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -307,11 +307,13 @@ examine Python's :file:`Makefile` (use :func:`sysconfig.get_makefile_filename` | ||||||
| to find its location) and compilation | to find its location) and compilation | ||||||
| options.  In this case, the :mod:`sysconfig` module is a useful tool to | options.  In this case, the :mod:`sysconfig` module is a useful tool to | ||||||
| programmatically extract the configuration values that you will want to | programmatically extract the configuration values that you will want to | ||||||
| combine together: | combine together.  For example: | ||||||
| 
 | 
 | ||||||
| .. code-block:: python | .. code-block:: python | ||||||
| 
 | 
 | ||||||
|    >>> import sysconfig |    >>> import sysconfig | ||||||
|  |    >>> sysconfig.get_config_var('LIBS') | ||||||
|  |    '-lpthread -ldl  -lutil' | ||||||
|    >>> sysconfig.get_config_var('LINKFORSHARED') |    >>> sysconfig.get_config_var('LINKFORSHARED') | ||||||
|    '-Xlinker -export-dynamic' |    '-Xlinker -export-dynamic' | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ned Deily
						Ned Deily