File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,25 @@ if exist "%PHP_BUILD_DIR%\php.exe" (
2424echo .
2525echo Copying deps DLLs like official PHP does...
2626set DEPS_DIR = C:\build-cache\deps-master-vs17-x64
27- copy /-y %DEPS_DIR% \bin\*.dll %PHP_BUILD_DIR% \*
27+
28+ echo Checking if DEPS_DIR exists: %DEPS_DIR%
29+ if exist " %DEPS_DIR% \bin" (
30+ echo FOUND: %DEPS_DIR% \bin
31+ dir " %DEPS_DIR% \bin\*.dll" /b
32+ ) else (
33+ echo ERROR: %DEPS_DIR% \bin not found!
34+ exit /b 1
35+ )
36+
37+ echo .
38+ echo Copying DLL files...
39+ copy /y " %DEPS_DIR% \bin\*.dll" " %PHP_BUILD_DIR% \"
40+ if %errorlevel% neq 0 (
41+ echo ERROR: Failed to copy DLL files (exit code: %errorlevel% )
42+ exit /b 1
43+ ) else (
44+ echo SUCCESS: DLL files copied
45+ )
2846
2947echo .
3048echo Running async extension tests...
You can’t perform that action at this time.
0 commit comments