]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix MinGW library generation command (GH-17917)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 6 Feb 2020 21:54:54 +0000 (13:54 -0800)
committerGitHub <noreply@github.com>
Thu, 6 Feb 2020 21:54:54 +0000 (22:54 +0100)
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@hotmail.com>
Doc/whatsnew/3.8.rst

index 007e3228f9ae6d12ba8149ab57691818904dc78b..9b61e1f05542df6e6cec41ff38d260b4e0512c14 100644 (file)
@@ -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