Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2545fa8

Browse files
authored
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.
1 parent cb1c074 commit 2545fa8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/whatsnew/3.8.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2109,7 +2109,7 @@ Changes in the C API
21092109

21102110
.. code-block:: shell
21112111
2112-
gendef python38.dll > tmp.def
2112+
gendef - python38.dll > tmp.def
21132113
dlltool --dllname python38.dll --def tmp.def --output-lib libpython38.a
21142114
21152115
The location of an installed :file:`pythonXY.dll` will depend on the

0 commit comments

Comments
 (0)