~ chicken-core (chicken-5) cd31e30781438e77c2baa0cc69c2cb5df1aa12f0


commit cd31e30781438e77c2baa0cc69c2cb5df1aa12f0
Author:     Kooda <kooda@upyum.com>
AuthorDate: Sun Apr 29 11:48:48 2018 +0200
Commit:     Kooda <kooda@upyum.com>
CommitDate: Sun Apr 29 11:48:48 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.scm
Trap