~ chicken-core (chicken-5) 9bdb1cdf20aa14cfb6b62a917c794b25ae1e0e25


commit 9bdb1cdf20aa14cfb6b62a917c794b25ae1e0e25
Author:     felix <felix@call-with-current-continuation.org>
AuthorDate: Fri Jan 13 11:48:01 2017 +0100
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Fri Jan 13 11:48:01 2017 +0100

    drop use of -static-libs when compiling static progranm (found by Kooda)

diff --git a/egg-compile.scm b/egg-compile.scm
index e6d26e43..9ef4fb79 100644
--- a/egg-compile.scm
+++ b/egg-compile.scm
@@ -430,8 +430,7 @@
          (src (quotearg (or ssname (conc sname ".scm")))))
     (print "\n" (slashify default-builder platform) " " out " " cmd 
            (if keep-generated-files " -k" "")
-           " -static-libs"
-           " -setup-mode -static -I " srcdir " -C -I" 
+           " -static -setup-mode -I " srcdir " -C -I" 
            srcdir (arglist options)
            (arglist link-options) " " src " -o " out " : "
            src #;(arglist dependencies))))
Trap