diff options
author | Ned Deily <nad@acm.org> | 2013-05-27 01:57:00 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2013-05-27 01:57:00 (GMT) |
commit | e7b47dda645938469e764e1ca3a1fab746f7540f (patch) | |
tree | b434ea5216a14ec9cac8efadba7ce23bde955a1d /Doc/extending/embedding.rst | |
parent | 9ffe85e1e86bc6718f105f2ab9833ef80f691367 (diff) | |
parent | ecf085180906b72a0378f3ba87ba3923e213d879 (diff) | |
download | cpython-e7b47dda645938469e764e1ca3a1fab746f7540f.zip cpython-e7b47dda645938469e764e1ca3a1fab746f7540f.tar.gz cpython-e7b47dda645938469e764e1ca3a1fab746f7540f.tar.bz2 |
Fix typo in embedding doc and update examples to 3.4.
Diffstat (limited to 'Doc/extending/embedding.rst')
-rw-r--r-- | Doc/extending/embedding.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/extending/embedding.rst b/Doc/extending/embedding.rst index 9761e25..3754380 100644 --- a/Doc/extending/embedding.rst +++ b/Doc/extending/embedding.rst @@ -285,14 +285,14 @@ be directly useful to you: * ``pythonX.Y-config --cflags`` will give you the recommended flags when compiling:: - $ /opt/bin/python3.2-config --cflags - -I/opt/include/python3.2m -I/opt/include/python3.2m -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes + $ /opt/bin/python3.4-config --cflags + -I/opt/include/python3.4m -I/opt/include/python3.4m -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes * ``pythonX.Y-config --ldflags`` will give you the recommended flags when linking:: - $ /opt/bin/python3.2-config --ldflags - -I/opt/lib/python3.2/config-3.2m -lpthread -ldl -lutil -lm -lpython3.2m -Xlinker -export-dynamic + $ /opt/bin/python3.4-config --ldflags + -L/opt/lib/python3.4/config-3.4m -lpthread -ldl -lutil -lm -lpython3.4m -Xlinker -export-dynamic .. note:: To avoid confusion between several Python installations (and especially |