File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Make sure you got ~20GB free disk space to build for all PHP versions.
1212
1313Make sure `` git `` is in you PATH
1414
15- 1 . Set up Microsoft Visual Studio vc15 and vs16 .
15+ 1 . Set up Microsoft Visual Studio vc15, vs16 and vs17 (for PHP8.4+) .
16162 . Set up Firebird 32-bit and 64-bit installations or libraries.
17173 . Set up PHP-SDK according to https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2
18184 . Clone php-firebird extension source somewhere.
Original file line number Diff line number Diff line change @@ -59,10 +59,10 @@ set pfb_build_root=php%pfb_php_vers%\%pfb_cpp_vers%\
5959set check_code = " if(!function_exists('ibase_connect'))exit(1);"
6060
6161set TPATH = %PATH%
62- set PATH = %PFB_FB64_DIR % ;%TPATH%
62+ set PATH = %FB64_DIR % ;%TPATH%
6363" %pfb_build_root% x64\php-src\x64\Release_TS\php.exe" -dextension=.\php_interbase.dll -r %check_code% || goto :error
6464" %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%
65+ set PATH = %FB32_DIR % ;%TPATH%
6666" %pfb_build_root% x86\php-src\Release_TS\php.exe" -dextension=.\php_interbase.dll -r %check_code% || goto :error
6767" %pfb_build_root% x86\php-src\Release\php.exe" -dextension=.\php_interbase.dll -r %check_code% || goto :error
6868set PATH = %TPATH%
Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ set PFB_VERS=3.0.1-%GIT_HASH%
1414set PFB_OUTPUT_DIR = D:\php-firebird\releases\
1515
1616@ REM FB 32-bit and 64-bit libraries
17- set PFB_FB32_DIR = C:\Program Files\Firebird\Firebird_5_0-x86
18- set PFB_FB64_DIR = C:\Program Files\Firebird\Firebird_5_0
17+ set FB32_DIR = C:\Program Files\Firebird\Firebird_5_0-x86
18+ set FB64_DIR = C:\Program Files\Firebird\Firebird_5_0
Original file line number Diff line number Diff line change 33@ REM Must be called under phpsdk-< php_vers> -< arch> .bat
44@ REM
55@ REM Calling script should set variables:
6- @ REM < PFB_FB32_DIR > < PFB_FB64_DIR > < PFB_SOURCE_DIR> < pfb_php_vers> [pfb_nts] [pfb_x86]
6+ @ REM < FB32_DIR > < FB64_DIR > < PFB_SOURCE_DIR> < pfb_php_vers> [pfb_nts] [pfb_x86]
77@ REM
88@ REM set pfb_php_vers=7.4
99@ REM set pfb_nts=1 if nts expected, 0 if ts
1010@ REM set pfb_x86=1 if linking to x86 fbclient, o if x64
1111@ REM
12- @ REM < PFB_FB32_DIR > < PFB_FB64_DIR > < PFB_SOURCE_DIR> all set in php-fb-config.bat
12+ @ REM < FB32_DIR > < FB64_DIR > < PFB_SOURCE_DIR> all set in php-fb-config.bat
1313@ REM
1414
1515goto :MAIN
@@ -41,10 +41,10 @@ exit /B
4141 )
4242
4343 if " %pfb_x86% " gtr " 0" (
44- set with_interbase = " shared,%PFB_FB32_DIR % "
44+ set with_interbase = " shared,%FB32_DIR % "
4545 set build_msg = %build_msg% x86
4646 ) else (
47- set with_interbase = " shared,%PFB_FB64_DIR % "
47+ set with_interbase = " shared,%FB64_DIR % "
4848 set build_msg = %build_msg% x86_64
4949 )
5050
You can’t perform that action at this time.
0 commit comments