mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 16:56:37 +01:00
Drop 0002-Cargo.toml-edition-2018-2021.patch
(issue fixed upstream)
License-Update: PSF licensed code removed as of
5e6476a4c6
(From OE-Core rev: 5c7ea0531bd099006c258b50c7b1747182123ae0)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
From 04aac6c88152088778c6551dfa86b2fc446dc61c Mon Sep 17 00:00:00 2001
|
|
From: Alexander Kanavin <alex@linutronix.de>
|
|
Date: Mon, 19 Jun 2023 13:27:28 +0200
|
|
Subject: [PATCH] cryptography-cffi: substitute include path from target
|
|
sysroot
|
|
|
|
Upstream-Status: Accepted [https://github.com/pyca/cryptography/pull/9105]
|
|
|
|
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
|
---
|
|
src/rust/cryptography-cffi/build.rs | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/rust/cryptography-cffi/build.rs b/src/rust/cryptography-cffi/build.rs
|
|
index 4a40990..08abb95 100644
|
|
--- a/src/rust/cryptography-cffi/build.rs
|
|
+++ b/src/rust/cryptography-cffi/build.rs
|
|
@@ -48,7 +48,7 @@ fn main() {
|
|
println!("cargo:rustc-cfg=python_implementation=\"{}\"", python_impl);
|
|
let python_include = run_python_script(
|
|
&python,
|
|
- "import sysconfig; print(sysconfig.get_path('include'), end='')",
|
|
+ "import sysconfig; print(sysconfig.get_config_var('INCLUDEPY'), end='')",
|
|
)
|
|
.unwrap();
|
|
let openssl_include =
|
|
--
|
|
2.30.2
|
|
|