~ chicken-core (chicken-5) d36ecf75bf9eb596c312f1cd7a80a5a670627a1b


commit d36ecf75bf9eb596c312f1cd7a80a5a670627a1b
Author:     felix <felix@call-with-current-continuation.org>
AuthorDate: Sat Apr 8 23:09:30 2017 +0200
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Sat Apr 8 23:09:30 2017 +0200

    target/host use same link file

diff --git a/egg-compile.scm b/egg-compile.scm
index 97a713f5..1c38ab0b 100644
--- a/egg-compile.scm
+++ b/egg-compile.scm
@@ -397,7 +397,7 @@
            (if keep-generated-files " -k" "")
            " -setup-mode -static -I " srcdir 
            " -emit-link-file "
-           (quotearg (target-file (conc sname +link-file-extension+) mode))
+           (quotearg (conc sname +link-file-extension+))
            (if (eq? mode 'host) " -host" "")
            " -D compiling-extension -c -J -unit " name
            " -D compiling-static-extension"
@@ -513,8 +513,7 @@
          (ext (object-extension platform))
          (sname (prefix srcdir name))
          (out (quotearg (target-file (conc sname ext) mode)))
-         (outlnk (quotearg (target-file (conc sname +link-file-extension+)
-                                        mode)))
+         (outlnk (quotearg (conc sname +link-file-extension+)))
          (dest (destination-repository mode))
          (dfile (quotearg dest))
          (ddir (shell-variable "DESTDIR" platform)))
Trap