[Python-checkins] Fix MinGW library generation command (GH-17917)

Baljak webhook-mailer at python.org
Tue Feb 4 19:10:22 EST 2020


https://github.com/python/cpython/commit/2545fa87628b4caca519da8aeb0eeef368b9dc0d
commit: 2545fa87628b4caca519da8aeb0eeef368b9dc0d
branch: master
author: Baljak <baljci at hotmail.com>
committer: GitHub <noreply at github.com>
date: 2020-02-05T11:10:16+11: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.

files:
M Doc/whatsnew/3.8.rst

diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index fabc1c597eca7..cb4c518662d6b 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -2109,7 +2109,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