~ chicken-core (chicken-5) c29c39712f854bc298119e8819ab39d29d781dc9
commit c29c39712f854bc298119e8819ab39d29d781dc9
Author: felix <felix@call-with-current-continuation.org>
AuthorDate: Mon May 23 10:55:56 2011 +0200
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Mon May 23 10:56:10 2011 +0200
disable -setup-mode for csc in deployment mode (thanks to Ivan Raikov)
diff --git a/setup-api.scm b/setup-api.scm
index e88dd302..978913a6 100644
--- a/setup-api.scm
+++ b/setup-api.scm
@@ -241,9 +241,9 @@
(cons*
(shellpath (find-program "csc"))
"-feature" "compiling-extension"
- (if (and (feature? #:cross-chicken)
- (not (deployment-mode))
- (not (host-extension)))
+ (if (or (deployment-mode)
+ (and (feature? #:cross-chicken)
+ (not (host-extension))))
"" "-setup-mode")
(if (keep-intermediates) "-k" "")
(if (host-extension) "-host" "")
Trap