mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 10:16:17 +03:00
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:
parent
b650a90c02
commit
3b38eb317b
5
setup.py
5
setup.py
|
@ -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", "")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user