~ chicken-core (master) de09a2b2c4c9f64036dcd5e01ae7dc8a4eafe695
commit de09a2b2c4c9f64036dcd5e01ae7dc8a4eafe695
Author: felix <felix@call-with-current-continuation.org>
AuthorDate: Wed Feb 11 19:38:20 2026 +0100
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Wed Feb 11 19:38:20 2026 +0100
add missing -setup-mode option when compiling dynamic object
diff --git a/egg-compile.scm b/egg-compile.scm
index 757fecea..660efab8 100644
--- a/egg-compile.scm
+++ b/egg-compile.scm
@@ -839,7 +839,8 @@
,@(filelist srcdir source-dependencies)
,@(get-dependency-targets dependencies))
`(,@(if custom '("sh") '())
- ,cmd ,@(if (eq? mode 'host) '("-host") '())
+ ,cmd "-setup-mode"
+ ,@(if (eq? mode 'host) '("-host") '())
"-s" "-c" "-C" ,(conc "-I" srcdir)
,@opts ,src "-o" ,out)
platform)
Trap