summary refs log tree commit diff
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-17 22:19:32 +0100
commit855a8ad71def2ebc594ed32c57bda0ca4e13d91c (patch)
treee2ecc4e654ae9113dee47bb890801a66733e015b
parentfdca1c079b7c1222f097a6f3a60a86e04dc8a1a4 (diff)
downloadguix-855a8ad71def2ebc594ed32c57bda0ca4e13d91c.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>.
-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