summaryrefslogtreecommitdiff
path: root/guix/build-system/cmake.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-07-19 13:57:54 +0200
committerMarius Bakke <marius@gnu.org>2021-07-23 17:26:45 +0200
commit21e75f5188991fa80bb22af800831a0c8c04d6e4 (patch)
tree64c67c77af70026b4488051d329b7f34f0cf98ed /guix/build-system/cmake.scm
parent9840ec8cabc0adf5d99d45276617eeaf6f4f3635 (diff)
build-system/cmake: Define '%build-inputs' when cross-compiling.
* guix/build-system/cmake.scm (cmake-cross-build)[builder]: Define '%build-inputs' as it existed before 7d873f194ca69d6096d28d7a224ab78e83e34fe1.
Diffstat (limited to 'guix/build-system/cmake.scm')
-rw-r--r--guix/build-system/cmake.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/build-system/cmake.scm b/guix/build-system/cmake.scm
index 2f9689b07c..d500eccfde 100644
--- a/guix/build-system/cmake.scm
+++ b/guix/build-system/cmake.scm
@@ -210,6 +210,9 @@ build system."
(append #$(input-tuples->gexp host-inputs)
#+(input-tuples->gexp target-inputs)))
+ (define %build-inputs
+ (append %build-host-inputs %build-target-inputs))
+
(define %outputs
#$(outputs->gexp outputs))