do not add extra include directories (#3)

Co-authored-by: nulano <nulano@nulano.eu>
This commit is contained in:
Axel Huebl 2020-10-14 01:59:34 -07:00 committed by GitHub
parent 70cf54f380
commit 115add2fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -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)

View File

@ -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