mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

0001-support-cross-compiling.patch refreshed for 11.1.0 License-Update: Update license to MIT-CMU Changelog: https://pillow.readthedocs.io/en/stable/releasenotes/11.1.0.html Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
From 2e59ade9de405e4cdea07bfc7432c76f1e8cb64b Mon Sep 17 00:00:00 2001
|
|
From: Leon Anavi <leon.anavi@konsulko.com>
|
|
Date: Mon, 11 Jan 2021 13:25:12 +0000
|
|
Subject: [PATCH] support cross compiling
|
|
|
|
Upstream-Status: Inappropriate [oe specific]
|
|
|
|
Suggested-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
|
---
|
|
setup.py | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index a85731db9..d55eb5324 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -131,7 +131,7 @@ _LIB_IMAGING = (
|
|
"codec_fd",
|
|
)
|
|
|
|
-DEBUG = False
|
|
+DEBUG = True
|
|
|
|
|
|
class DependencyException(Exception):
|
|
@@ -537,12 +537,12 @@ class pil_build_ext(build_ext):
|
|
_add_directory(library_dirs, match.group(1))
|
|
|
|
# include, rpath, if set as environment variables:
|
|
- for k in ("C_INCLUDE_PATH", "CPATH", "INCLUDE"):
|
|
+ for k in ("C_INCLUDE_PATH", "CPATH", "INCLUDE", "STAGING_INCDIR"):
|
|
if k in os.environ:
|
|
for d in os.environ[k].split(os.path.pathsep):
|
|
_add_directory(include_dirs, d)
|
|
|
|
- for k in ("LD_RUN_PATH", "LIBRARY_PATH", "LIB"):
|
|
+ for k in ("LD_RUN_PATH", "LIBRARY_PATH", "LIB", "STAGING_LIBDIR"):
|
|
if k in os.environ:
|
|
for d in os.environ[k].split(os.path.pathsep):
|
|
_add_directory(library_dirs, d)
|