mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
do not add extra include directories (#3)
Co-authored-by: nulano <nulano@nulano.eu>
This commit is contained in:
parent
70cf54f380
commit
115add2fa0
4
setup.py
4
setup.py
|
@ -355,8 +355,6 @@ class pil_build_ext(build_ext):
|
|||
library_dirs = []
|
||||
include_dirs = []
|
||||
|
||||
_add_directory(include_dirs, "src/libImaging")
|
||||
|
||||
pkg_config = None
|
||||
if _cmd_exists(os.environ.get("PKG_CONFIG", "pkg-config")):
|
||||
pkg_config = _pkg_config
|
||||
|
@ -765,7 +763,7 @@ class pil_build_ext(build_ext):
|
|||
self._remove_extension("PIL._webp")
|
||||
|
||||
tk_libs = ["psapi"] if sys.platform == "win32" else []
|
||||
self._update_extension("PIL._imagingtk", tk_libs, include_dirs=["src/Tk"])
|
||||
self._update_extension("PIL._imagingtk", tk_libs)
|
||||
|
||||
build_ext.build_extensions(self)
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
#define FT_ERROR_START_LIST {
|
||||
#define FT_ERROR_END_LIST { 0, 0 } };
|
||||
|
||||
#include <raqm.h>
|
||||
#include "libImaging/raqm.h"
|
||||
|
||||
#define LAYOUT_FALLBACK 0
|
||||
#define LAYOUT_RAQM 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user