@@ -20,26 +20,17 @@ if not exist "%DEPS_DIR%" (
2020)
2121if %errorlevel% neq 0 exit /b 3
2222
23- cmd /c buildconf.bat --force
24- if %errorlevel% neq 0 exit /b 3
25-
26- rem Copy LibUV from vcpkg to deps directory for async extension BEFORE configure
27- echo Debug: DEPS_DIR=%DEPS_DIR%
28- echo Debug: Checking what's in vcpkg...
29- dir " C:\vcpkg\installed\x64-windows\include\"
30- dir " C:\vcpkg\installed\x64-windows\lib\"
31-
23+ rem Copy LibUV from vcpkg to deps directory
24+ echo Copying LibUV to %DEPS_DIR%
3225if not exist " %DEPS_DIR% \include\libuv" mkdir " %DEPS_DIR% \include\libuv"
3326if not exist " %DEPS_DIR% \lib" mkdir " %DEPS_DIR% \lib"
27+ copy " C:\vcpkg\installed\x64-windows\include\uv.h" " %DEPS_DIR% \include\libuv\uv.h"
28+ if %errorlevel% neq 0 echo ERROR: Failed to copy uv.h
29+ copy " C:\vcpkg\installed\x64-windows\lib\uv.lib" " %DEPS_DIR% \lib\uv.lib"
30+ if %errorlevel% neq 0 echo ERROR: Failed to copy uv.lib
3431
35- echo Debug: Copying LibUV files...
36- copy " C:\vcpkg\installed\x64-windows\include\uv.h" " %DEPS_DIR% \include\libuv\"
37- xcopy /E /I /H /Y " C:\vcpkg\installed\x64-windows\include\uv" " %DEPS_DIR% \include\libuv\uv\"
38- copy " C:\vcpkg\installed\x64-windows\lib\uv.lib" " %DEPS_DIR% \lib\"
39-
40- echo Debug: Checking what we copied...
41- dir " %DEPS_DIR% \include\libuv\"
42- dir " %DEPS_DIR% \lib\"
32+ cmd /c buildconf.bat --force
33+ if %errorlevel% neq 0 exit /b 3
4334
4435if " %THREAD_SAFE% " equ " 0" set ADD_CONF = %ADD_CONF% --disable-zts
4536if " %INTRINSICS% " neq " " set ADD_CONF = %ADD_CONF% --enable-native-intrinsics=%INTRINSICS%
0 commit comments