1 From 04aac6c88152088778c6551dfa86b2fc446dc61c Mon Sep 17 00:00:00 2001
2 From: Alexander Kanavin <alex@linutronix.de>
3 Date: Mon, 19 Jun 2023 13:27:28 +0200
4 Subject: [PATCH] cryptography-cffi: substitute include path from target
7 Upstream-Status: Accepted [https://github.com/pyca/cryptography/pull/9105]
9 Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11 src/rust/cryptography-cffi/build.rs | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
14 diff --git a/src/rust/cryptography-cffi/build.rs b/src/rust/cryptography-cffi/build.rs
15 index 4a40990..08abb95 100644
16 --- a/src/rust/cryptography-cffi/build.rs
17 +++ b/src/rust/cryptography-cffi/build.rs
18 @@ -48,7 +48,7 @@ fn main() {
19 println!("cargo:rustc-cfg=python_implementation=\"{}\"", python_impl);
20 let python_include = run_python_script(
22 - "import sysconfig; print(sysconfig.get_path('include'), end='')",
23 + "import sysconfig; print(sysconfig.get_config_var('INCLUDEPY'), end='')",