1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-23 20:05:32 +02:00

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
This commit is contained in:
Ian Price 2017-08-28 13:48:47 +01:00
parent 37369c0cb0
commit c7554f2746

View file

@ -103,7 +103,8 @@ Report bugs to <~A>.~%"
(define* (link-file file #:key (extra-dependencies '()) output-file no-boot?) (define* (link-file file #:key (extra-dependencies '()) output-file no-boot?)
(let ((dependencies (if no-boot? (let ((dependencies (if no-boot?
extra-dependencies 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 (output-file (or output-file "main.js")) ;; FIXME: changeable
) )
(with-output-to-file output-file (with-output-to-file output-file