diff --git a/SPECS/python-pillow.spec b/SPECS/python-pillow.spec index 1e94273..8f2a261 100644 --- a/SPECS/python-pillow.spec +++ b/SPECS/python-pillow.spec @@ -188,6 +188,7 @@ MinGW Windows Python2 %{srcname} library. %prep %autosetup -p1 -n Pillow-%{version} +sed 's/PLATFORM_MINGW = "mingw32" in os.getenv("CC")/PLATFORM_MINGW = ""/' -i setup.py %build