>From 6c7cb8c0568b5733b8baadc1ea55a47b702e75a4 Mon Sep 17 00:00:00 2001 From: Michele La Monaca Date: Sun, 13 Jul 2014 13:39:43 +0200 Subject: [PATCH] fix static compilation in cygwin Signed-off-by: Peter Bex --- NEWS | 4 ++++ csc.scm | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 1020853..3780016 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 8d586ab..16ab65e 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)) -- 1.7.10.4