diff --git a/build-windows.sh b/build-windows.sh index b28feaa..f55d9f9 100644 --- a/build-windows.sh +++ b/build-windows.sh @@ -1,5 +1,7 @@ #!/bin/bash +repo_dir=$(pwd) + cd libuv-build mkdir -p build @@ -9,6 +11,6 @@ cmake --build build find build -echo SBT_NATIVE_COMPILE='set nativeCompileOptions += "--include-directory=libuv-build/include" ; ' >> $GITHUB_ENV +echo SBT_NATIVE_COMPILE="set nativeCompileOptions += \"--include-directory=$repo_dir/libuv-build/include\" ; " >> $GITHUB_ENV -echo SBT_NATIVE_LINK='set nativeLinkingOptions += "--library-directory=libuv-build/build/Debug" ; ' >> $GITHUB_ENV +echo SBT_NATIVE_LINK="set nativeLinkingOptions += \"--library-directory=$repo_dir/libuv-build/build/Debug\" ; " >> $GITHUB_ENV