File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,10 @@ rem C4244: type conversion, possible loss of data
3333rem C4267: 'size_t' type conversion, possible loss of data
3434set CFLAGS = /W3 /WX /wd4018 /wd4146 /wd4244 /wd4267
3535
36- rem Set LibUV paths for async extension
37- set LIBUV_INCLUDE = C:\vcpkg\installed\x64-windows\include
38- set LIBUV_LIB = C:\vcpkg\installed\x64-windows\lib
36+ rem Copy LibUV from vcpkg to deps directory for async extension
37+ if not exist " %DEPS_DIR% \include\libuv" mkdir " %DEPS_DIR% \include\libuv"
38+ xcopy /E /I /H /Y " C:\vcpkg\installed\x64-windows\include\*" " %DEPS_DIR% \include\libuv\"
39+ xcopy /E /I /H /Y " C:\vcpkg\installed\x64-windows\lib\uv.lib" " %DEPS_DIR% \lib\"
3940
4041cmd /c configure.bat ^
4142 --enable-snapshot-build ^
@@ -44,7 +45,6 @@ cmd /c configure.bat ^
4445 --enable-object-out-dir=%PHP_BUILD_OBJ_DIR% ^
4546 --with-php-build=%DEPS_DIR% ^
4647 --enable-async ^
47- --with-libuv=%LIBUV_INCLUDE% ^
4848 %ADD_CONF% ^
4949 --disable-test-ini
5050if %errorlevel% neq 0 exit /b 3
You can’t perform that action at this time.
0 commit comments