[Python-checkins] cpython (3.3): Issue #18164: Clarify the embedding docs regarding link options.

ned.deily python-checkins at python.org
Mon Jun 24 23:24:13 CEST 2013


http://hg.python.org/cpython/rev/4a114b0db866
changeset:   84323:4a114b0db866
branch:      3.3
parent:      84317:6e2f02b59fcf
user:        Ned Deily <nad at acm.org>
date:        Mon Jun 24 14:22:09 2013 -0700
summary:
  Issue #18164: Clarify the embedding docs regarding link options.

files:
  Doc/extending/embedding.rst |  4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Doc/extending/embedding.rst b/Doc/extending/embedding.rst
--- a/Doc/extending/embedding.rst
+++ b/Doc/extending/embedding.rst
@@ -307,11 +307,13 @@
 to find its location) and compilation
 options.  In this case, the :mod:`sysconfig` module is a useful tool to
 programmatically extract the configuration values that you will want to
-combine together:
+combine together.  For example:
 
 .. code-block:: python
 
    >>> import sysconfig
+   >>> sysconfig.get_config_var('LIBS')
+   '-lpthread -ldl  -lutil'
    >>> sysconfig.get_config_var('LINKFORSHARED')
    '-Xlinker -export-dynamic'
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list