We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7176577 + 51cee7d commit 2c72b51Copy full SHA for 2c72b51
1 file changed
Doc/extending/embedding.rst
@@ -307,11 +307,13 @@ examine Python's :file:`Makefile` (use :func:`sysconfig.get_makefile_filename`
307
to find its location) and compilation
308
options. In this case, the :mod:`sysconfig` module is a useful tool to
309
programmatically extract the configuration values that you will want to
310
-combine together:
+combine together. For example:
311
312
.. code-block:: python
313
314
>>> import sysconfig
315
+ >>> sysconfig.get_config_var('LIBS')
316
+ '-lpthread -ldl -lutil'
317
>>> sysconfig.get_config_var('LINKFORSHARED')
318
'-Xlinker -export-dynamic'
319
0 commit comments