diff --git a/pillow_mingw.patch b/pillow_mingw.patch index 2d98dbf..c08607c 100644 --- a/pillow_mingw.patch +++ b/pillow_mingw.patch @@ -6,7 +6,7 @@ diff -rupN --no-dereference Pillow-9.1.1/setup.py Pillow-9.1.1-new/setup.py -PLATFORM_MINGW = os.name == "nt" and "GCC" in sys.version -+PLATFORM_MINGW = "mingw32" in os.getenv("CC", []) ++PLATFORM_MINGW = "mingw32" in os.getenv("CC", "") PLATFORM_PYPY = hasattr(sys, "pypy_version_info")