Ned Deily  committed 4a114b0

Issue #18164: Clarify the embedding docs regarding link options.

  • Participants
  • Parent commits 6e2f02b
  • Branches 3.3

Comments (0)

Files changed (1)

File Doc/extending/embedding.rst

 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'