diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 2ce096bf..539b26bb 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -51,6 +51,6 @@ jobs: pwd $SBCL_SRC/run-sbcl.sh --script script.lisp echo $LIBRARY_PATH - gcc -Wall -fPIC -shared -o libcalc.dll libcalc.c -Wl,--whole-archive -lsbcl -Wl,--no-whole-archive -ladvapi32 -lsynchronization -lws2_32 -lzstd + gcc -Wall -fPIC -shared -o libcalc.dll libcalc.c -Wl,--export-all-symbols -Wl,--whole-archive -lsbcl -Wl,--no-whole-archive -ladvapi32 -lsynchronization -lws2_32 -lzstd gcc -Wall -o example example.c -lcalc echo "(+ 1 2)" | ./example.exe \ No newline at end of file