File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -21,22 +21,11 @@ if not exist "%DEPS_DIR%" (
2121if %errorlevel% neq 0 exit /b 3
2222
2323rem Copy LibUV from vcpkg to deps directory
24- echo Copying LibUV to %DEPS_DIR%
25- echo Checking what's in vcpkg lib directory:
26- dir " C:\vcpkg\installed\x64-windows\lib\*.lib"
27-
2824if not exist " %DEPS_DIR% \include\libuv" mkdir " %DEPS_DIR% \include\libuv"
2925if not exist " %DEPS_DIR% \lib" mkdir " %DEPS_DIR% \lib"
30-
3126copy " C:\vcpkg\installed\x64-windows\include\uv.h" " %DEPS_DIR% \include\libuv\uv.h"
32- if %errorlevel% neq 0 echo ERROR: Failed to copy uv.h
33-
34- copy " C:\vcpkg\installed\x64-windows\lib\uv.lib" " %DEPS_DIR% \lib\libuv.lib"
35- if %errorlevel% neq 0 echo ERROR: Failed to copy uv.lib as libuv.lib
36-
37- echo Checking what we copied to DEPS_DIR:
38- dir " %DEPS_DIR% \lib\*.lib" | findstr libuv
39- dir " %DEPS_DIR% \include\libuv\*.h"
27+ xcopy /E /I /H /Y " C:\vcpkg\installed\x64-windows\include\uv" " %DEPS_DIR% \include\libuv\uv\"
28+ copy " C:\vcpkg\installed\x64-windows\lib\uv.lib" " %DEPS_DIR% \lib\libuv.lib"
4029
4130cmd /c buildconf.bat --force
4231if %errorlevel% neq 0 exit /b 3
You can’t perform that action at this time.
0 commit comments