blob: 94919cbf009cfc3b756d08d0d26aea140306ceb8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- cargo-crates/xcb-0.8.2/build.rs.orig 2025-05-05 10:26:31 UTC
+++ cargo-crates/xcb-0.8.2/build.rs
@@ -64,13 +64,13 @@ fn main() {
if ref_mtime > src_file_mtime || ref_mtime > ffi_file_mtime {
- let status = Command::new("python3")
+ let status = Command::new("%%PYTHON_CMD%%")
.arg(&r_client)
.arg("-o").arg(&src_dir)
.arg(&xml_file)
.env("PYTHONHASHSEED", "0")
.status()
- .expect("Unable to find build dependency python3");
+ .expect("Unable to find build dependency %%PYTHON_CMD%%");
if !status.success() {
panic!("processing of {} returned non-zero ({})",
xml_file.display(), status.code().unwrap());
|