remove legacy include directory for libimagequant

1) it is hardcoded to 32-bit C:\msys64\mingw32
2) current library version uses \mingw64\include\libimagequant.h directly
This commit is contained in:
nulano 2020-08-30 00:57:27 +02:00
parent b650a90c02
commit 3b38eb317b

View File

@ -528,11 +528,6 @@ class pil_build_ext(build_ext):
_add_directory(library_dirs, "/lib") _add_directory(library_dirs, "/lib")
if sys.platform == "win32": if sys.platform == "win32":
if PLATFORM_MINGW:
_add_directory(
include_dirs, "C:\\msys64\\mingw32\\include\\libimagequant"
)
# on Windows, look for the OpenJPEG libraries in the location that # on Windows, look for the OpenJPEG libraries in the location that
# the official installer puts them # the official installer puts them
program_files = os.environ.get("ProgramFiles", "") program_files = os.environ.get("ProgramFiles", "")