[Python-checkins] Fix MinGW library generation command (GH-17917)
Miss Islington (bot)
webhook-mailer at python.org
Thu Feb 6 16:54:59 EST 2020
https://github.com/python/cpython/commit/30096c9365fcb7cc3c38c4d161eaf8f61ae5cfea
commit: 30096c9365fcb7cc3c38c4d161eaf8f61ae5cfea
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-02-06T22:54:54+01:00
summary:
Fix MinGW library generation command (GH-17917)
To print the exports to stdout, the gendef command requires the option "-". Without this option, no output is generated.
(cherry picked from commit 2545fa87628b4caca519da8aeb0eeef368b9dc0d)
Co-authored-by: Baljak <baljci at hotmail.com>
files:
M Doc/whatsnew/3.8.rst
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 007e3228f9ae6..9b61e1f05542d 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -2111,7 +2111,7 @@ Changes in the C API
.. code-block:: shell
- gendef python38.dll > tmp.def
+ gendef - python38.dll > tmp.def
dlltool --dllname python38.dll --def tmp.def --output-lib libpython38.a
The location of an installed :file:`pythonXY.dll` will depend on the
More information about the Python-checkins
mailing list