~ chicken-core (chicken-5) be5b0827ad02473c7fbf277b8153dabb8863e973
commit be5b0827ad02473c7fbf277b8153dabb8863e973
Author: Michele La Monaca <bitbucket@lamonaca.net>
AuthorDate: Sun Jul 13 13:39:43 2014 +0200
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Wed Jul 23 12:27:59 2014 +0200
fix static compilation in cygwin
Signed-off-by: Peter Bex <peter.bex@xs4all.nl>
Signed-off-by: felix <felix@call-with-current-continuation.org>
diff --git a/NEWS b/NEWS
index 10208536..37800161 100644
--- a/NEWS
+++ b/NEWS
@@ -56,6 +56,10 @@
CHICKENINCDIR and CHICKENLIBDIR will now also be taken from
the environment, if present (like PLATFORM, DESTDIR and PREFIX).
+- Tools
+ - "csc"
+ - On Cygwin, -static now works again (thanks to Michele La Monaca)
+
4.9.0
- Security fixes
diff --git a/csc.scm b/csc.scm
index 8d586ab1..16ab65ec 100644
--- a/csc.scm
+++ b/csc.scm
@@ -119,10 +119,7 @@
(define windows-shell WINDOWS_SHELL)
(define generate-manifest #f)
-(define libchicken
- (if cygwin
- (string-append "cyg" INSTALL_LIB_NAME "-0")
- (string-append "lib" INSTALL_LIB_NAME)))
+(define libchicken (string-append "lib" INSTALL_LIB_NAME))
(define default-library
(string-append libchicken "." library-extension))
Trap