~ chicken-core (chicken-5) 50c4e0d7f30b2e89e79285ed9ab42032947c7cfe
commit 50c4e0d7f30b2e89e79285ed9ab42032947c7cfe Author: Kooda <kooda@upyum.com> AuthorDate: Sun Apr 29 11:48:48 2018 +0200 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Sun Apr 29 23:31:43 2018 +0200 Compile the posixwin.scm and posixunix.scm with -no-module-registration This prevents the chicken.posix module from being imported when using the interpreter. diff --git a/rules.make b/rules.make index c8538937..808f374b 100644 --- a/rules.make +++ b/rules.make @@ -810,7 +810,8 @@ posixunix.c: $(SRCDIR)posix.scm $(SRCDIR)posixunix.scm $(SRCDIR)posix-common.scm -emit-import-library chicken.time.posix \ -emit-import-library chicken.process \ -emit-import-library chicken.process.signal \ - -emit-import-library chicken.process-context.posix + -emit-import-library chicken.process-context.posix \ + -no-module-registration posixwin.c: $(SRCDIR)posix.scm $(SRCDIR)posixwin.scm $(SRCDIR)posix-common.scm $(SRCDIR)common-declarations.scm $(bootstrap-lib) -feature platform-windows \ -emit-import-library chicken.errno \ @@ -818,7 +819,8 @@ posixwin.c: $(SRCDIR)posix.scm $(SRCDIR)posixwin.scm $(SRCDIR)posix-common.scm $ -emit-import-library chicken.time.posix \ -emit-import-library chicken.process \ -emit-import-library chicken.process.signal \ - -emit-import-library chicken.process-context.posix + -emit-import-library chicken.process-context.posix \ + -no-module-registration irregex.c: $(SRCDIR)irregex.scm $(SRCDIR)irregex-core.scm $(SRCDIR)irregex-utils.scm $(SRCDIR)common-declarations.scm $(bootstrap-lib) -emit-import-library chicken.irregex chicken-syntax.c: $(SRCDIR)chicken-syntax.scm $(SRCDIR)common-declarations.scm $(SRCDIR)mini-srfi-1.scmTrap