Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 609 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 609 Bytes

Python mingw library creator script

written in Python (ironically)

Creates MinGW compatible library files of the Python DLL using gendef/dlltool, for people too lazy to cross compile python.

Python source: https://www.python.org/downloads/source/

Supports:

  • Python 3.6.x Win64 and 32 variants (Only tested 64bit)

Requires:

  • gendef (part of MinGW)
  • dlltool (so is this)
  • Python 2(+)

How to run:

make PREFIX={INSTALL_FOLDER} GENDEF={FULL_PATH_TO_GENDEF} DLLTOOL={FULL_PATH_TO_DLLTOOL}

INSTALL_FOLDER should probably be your MinGW prefix (where lib/include folders are)