Files
meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-python-enable-unbundled-cross-compilation.patch
T
Peter Marko 049f4b32b5 python3-grpcio: upgrade 1.78.0 -> 1.84.1
Upgrade to addresses eMudhra certificates issue.
See https://emudhra.we-have-a-problem.com/

License-Update: clarified which license applies to which file
* https://github.com/grpc/grpc/commit/fb53717dfa6b264e7f930bb5e9a7e5c86a31ed9e

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-10-23 08:54:06 -07:00

50 lines
1.6 KiB
Diff

From 55405c161ec71068229d13ef19d2f01ff59c2b77 Mon Sep 17 00:00:00 2001
From: Peter Marko <peter.marko@siemens.com>
Date: Wed, 5 Feb 2025 21:06:50 +0100
Subject: [PATCH] python: enable unbundled cross compilation
System headers are on a sysroot path provided by the toolchain
options.
Upstream-Status: Pending
Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
setup.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/setup.py b/setup.py
index 39ca17e..bffa9fb 100644
--- a/setup.py
+++ b/setup.py
@@ -341,25 +341,25 @@ if BUILD_WITH_SYSTEM_OPENSSL:
lambda x: "third_party/boringssl" not in x, CORE_C_FILES
)
CORE_C_FILES = filter(lambda x: "src/boringssl" not in x, CORE_C_FILES)
- SSL_INCLUDE = (os.path.join("/usr", "include", "openssl"),)
+ SSL_INCLUDE = ()
if BUILD_WITH_SYSTEM_ZLIB:
CORE_C_FILES = filter(lambda x: "third_party/zlib" not in x, CORE_C_FILES)
- ZLIB_INCLUDE = (os.path.join("/usr", "include"),)
+ ZLIB_INCLUDE = ()
if BUILD_WITH_SYSTEM_CARES:
CORE_C_FILES = filter(lambda x: "third_party/cares" not in x, CORE_C_FILES)
- CARES_INCLUDE = (os.path.join("/usr", "include"),)
+ CARES_INCLUDE = ()
if BUILD_WITH_SYSTEM_RE2:
CORE_C_FILES = filter(lambda x: "third_party/re2" not in x, CORE_C_FILES)
- RE2_INCLUDE = (os.path.join("/usr", "include", "re2"),)
+ RE2_INCLUDE = ()
if BUILD_WITH_SYSTEM_ABSL:
CORE_C_FILES = filter(
lambda x: "third_party/abseil-cpp" not in x, CORE_C_FILES
)
- ABSL_INCLUDE = (os.path.join("/usr", "include"),)
+ ABSL_INCLUDE = ()
EXTENSION_INCLUDE_DIRECTORIES = (
(PYTHON_STEM,)