]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix MinGW library generation command (GH-17917)
authorBaljak <baljci@hotmail.com>
Wed, 5 Feb 2020 00:10:16 +0000 (01:10 +0100)
committerGitHub <noreply@github.com>
Wed, 5 Feb 2020 00:10:16 +0000 (11:10 +1100)
To print the exports to stdout, the gendef command requires the option "-". Without this option, no output is generated.

Doc/whatsnew/3.8.rst

index fabc1c597eca705d0b9493a3a67dc49794d87fcb..cb4c518662d6baae75d0f42113387b2bb5ecf420 100644 (file)
@@ -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