summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-02-17 22:18:16 +0100
committerLudovic Courtès <ludo@gnu.org>2013-02-27 20:55:40 +0100
commit02d94dab8d7827eb0dae469025cf6aeead12b873 (patch)
tree0fdcb6adcb5b3478b52d6c93f42c72070649ff61 /Makefile.am
parentdc3f1809cf4637fcf30d9c1789fa0eb96aefd0f5 (diff)
downloadpatches-02d94dab8d7827eb0dae469025cf6aeead12b873.tar
patches-02d94dab8d7827eb0dae469025cf6aeead12b873.tar.gz
build: Build guix/scripts/download.go after guix/build/download.go.
* Makefile.am (guix/scripts/download.go): Add dependency on `guix/build/download.go'. Reported by Nikita Karetnikov <nikita@karetnikov.org>.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 5932e1350a..cabbe21cdd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -164,6 +164,9 @@ MODULES = \
gnu/packages/zip.scm \
gnu/system/vm.scm
+# Because of the autoload hack in (guix build download), we must build it
+# first to avoid errors on systems where (gnutls) is unavailable.
+guix/scripts/download.go: guix/build/download.go
GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go