MINGW-packages/mingw-w64-python-freetype-py/0001-fix-loading-freetype-dll.patch
مهدي شينون (Mehdi Chinoune) 852cfbe9f0 [new-package] python-freetype-py 2.3.0
I have packaged an old 2.3.0 because python-reportlab requires <2.4
2023-05-04 21:59:31 +01:00

12 lines
406 B
Diff

--- a/freetype/raw.py
+++ b/freetype/raw.py
@@ -36,7 +36,7 @@
# on windows all ctypes does when checking for the library
# is to append .dll to the end and look for an exact match
# within any entry in PATH.
- filename = ctypes.util.find_library('freetype')
+ filename = ctypes.util.find_library('libfreetype-6')
if filename is None:
if platform.system() == 'Windows':