Skip to content

Commit 110c0f0

Browse files
committed
Add path for fbclient.dll
1 parent 828ba1c commit 110c0f0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

win_build_scripts/php-fb-build.bat

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,15 @@ set pfb_build_root=php%pfb_php_vers%\%pfb_cpp_vers%\
5757

5858
@REM check if ibase_connect() function exists in newly compiled extension
5959
set check_code="if(!function_exists('ibase_connect'))exit(1);"
60+
61+
set TPATH=%PATH%
62+
set PATH=%PFB_FB64_DIR%;%TPATH%
6063
"%pfb_build_root%x64\php-src\x64\Release_TS\php.exe" -dextension=.\php_interbase.dll -r %check_code% || goto :error
6164
"%pfb_build_root%x64\php-src\x64\Release\php.exe" -dextension=.\php_interbase.dll -r %check_code% || goto :error
65+
set PATH=%PFB_FB32_DIR%;%TPATH%
6266
"%pfb_build_root%x86\php-src\Release_TS\php.exe" -dextension=.\php_interbase.dll -r %check_code% || goto :error
6367
"%pfb_build_root%x86\php-src\Release\php.exe" -dextension=.\php_interbase.dll -r %check_code% || goto :error
68+
set PATH=%TPATH%
6469

6570
call :log "PHP %pfb_php_vers% build OK"
6671

0 commit comments

Comments
 (0)