[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61865] [PATCH 5/8] gnu: gobject-introspection: fix riscv64 cross-co
From: |
Z572 |
Subject: |
[bug#61865] [PATCH 5/8] gnu: gobject-introspection: fix riscv64 cross-compile. |
Date: |
Tue, 28 Feb 2023 16:33:37 +0800 |
* gnu/packages/glib.scm(gobject-introspection): fix riscv64 cross-compile
[native-inputs]: when (%current-target-system) is true, add python.
---
gnu/packages/glib.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index f85d5e3225..319a0ca2c1 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -573,7 +573,10 @@ (define gobject-introspection
"/_giscanner"))))
#~()))))
(native-inputs
- `(("glib" ,glib "bin")
+ `(,@(if (%current-target-system)
+ `(("python" ,python))
+ '())
+ ("glib" ,glib "bin")
("pkg-config" ,pkg-config)
("bison" ,bison)
("flex" ,flex)))
--
2.39.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#61865] [PATCH 5/8] gnu: gobject-introspection: fix riscv64 cross-compile.,
Z572 <=