diff --git a/lib/chibi/win32/process-win32.sld b/lib/chibi/win32/process-win32.sld index c798e035..49cb57a4 100644 --- a/lib/chibi/win32/process-win32.sld +++ b/lib/chibi/win32/process-win32.sld @@ -1,5 +1,9 @@ (define-library (chibi win32 process-win32) (import (scheme base)) - (export %exit) - (include-shared "process-win32") - (include "process-win32.scm")) + (export exit) + (cond-expand + (windows + (include-shared "process-win32") + (include "process-win32.scm")) + (else + (import (only (chibi process) exit))))) diff --git a/tests/build/build-opts.txt b/tests/build/build-opts.txt index 73bc295f..328c6506 100644 --- a/tests/build/build-opts.txt +++ b/tests/build/build-opts.txt @@ -30,7 +30,7 @@ CPPFLAGS=-DSEXP_USE_RESERVE_OPCODE=0 CPPFLAGS=-DSEXP_USE_PROFILE_VM=1 CPPFLAGS=-DSEXP_USE_UTF8_STRINGS=0 CPPFLAGS=-DSEXP_USE_DISJOINT_STRING_CURSORS=0 -CPPFLAGS=-DSEXP_USE_STATIC_LIBS=1 +CFLAGS=-DSEXP_USE_STATIC_LIBS_NO_INCLUDE=0;CPPFLAGS=-DSEXP_USE_STATIC_LIBS=1 CPPFLAGS=-DSEXP_USE_MUTABLE_STRINGS=0 CPPFLAGS=-DSEXP_USE_STRICT_TOPLEVEL_BINDINGS=1 CPPFLAGS=-DSEXP_USE_NO_FEATURES=1