From 28f01b964f68d3e9c111eb64dc598857871723e1 Mon Sep 17 00:00:00 2001 From: Kartik Singh Date: Sun, 12 May 2024 12:38:10 -0400 Subject: [PATCH] Use LIBRARY_PATH --- .github/workflows/windows.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 15b18f2b..498bf808 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -46,13 +46,13 @@ jobs: working-directory: examples/libcalc env: SBCL_SRC: ${{ github.workspace }}/../sbcl - LD_LIBRARY_PATH: ${{ github.workspace }}/../sbcl/src/runtime:. + LIBRARY_PATH: ${{ github.workspace }}/../sbcl/src/runtime:. CL_SOURCE_REGISTRY: "${{ github.workspace }}//" run: | echo $CL_SOURCE_REGISTRY pwd $SBCL_SRC/run-sbcl.sh --script script.lisp echo $LD_LIBRARY_PATH - gcc -Wall -fPIC -shared -o libcalc.dll libcalc.c -lsbcl -L${{ github.workspace }}/../sbcl/src/runtime - gcc -Wall -o example example.c -lsbcl -lcalc -L${{ github.workspace }}/../sbcl/src/runtime -L. + gcc -Wall -fPIC -shared -o libcalc.dll libcalc.c -lsbcl + gcc -Wall -o example example.c -lsbcl -lcalc echo "(+ 1 2)" | ./example \ No newline at end of file