cwebber pushed a commit to branch compile-to-js-merge
in repository guile.
commit c7554f2746661429b3373ab71d2eb6c73ef76e01
Author: Ian Price <[email protected]>
AuthorDate: Mon Aug 28 13:48:47 2017 +0100
extra-dependencies go before boot-dependencies
* module/scripts/jslink.scm (link-file): psyntax needs to come last in
the list of dependencies, so need to append extra-dependencies
before boot-dependencies
---
module/scripts/jslink.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/module/scripts/jslink.scm b/module/scripts/jslink.scm
index 0152315..968835d 100644
--- a/module/scripts/jslink.scm
+++ b/module/scripts/jslink.scm
@@ -103,7 +103,8 @@ Report bugs to <~A>.~%"
(define* (link-file file #:key (extra-dependencies '()) output-file no-boot?)
(let ((dependencies (if no-boot?
extra-dependencies
- (append boot-dependencies extra-dependencies)))
+ ;; FIXME: extra-dependencies need to come before
psyntax
+ (append extra-dependencies boot-dependencies)))
(output-file (or output-file "main.js")) ;; FIXME: changeable
)
(with-output-to-file output-file