From 8e97db015dc9a474f521411cb40de736194d9ac7 Mon Sep 17 00:00:00 2001 From: felix Date: Sat, 14 Dec 2019 13:14:58 +0100 Subject: [PATCH] Compile c-object components with proper flags Egg components of type c-object should be compiled with the same C compiler flags as C files generated by chicken, but currently the "-s" option for shared objects is not given to c-objects when compiled in dynamic mode. This patch adds the flag, fixing #1659. This shortcoming was reported by Thomas Chust. --- egg-compile.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egg-compile.scm b/egg-compile.scm index c18c8c14..ece0f190 100644 --- a/egg-compile.scm +++ b/egg-compile.scm @@ -799,7 +799,7 @@ cmd (if (eq? mode 'host) " -host" "") " -setup-mode -I " srcdir - " -c -C -I" srcdir + " -s -c -C -I" srcdir (arglist opts platform) " " src " -o " out) -- 2.21.0