Skip to content

Commit e6ff7cc

Browse files
committed
Tidy up
1 parent 5ff8098 commit e6ff7cc

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

win_build_scripts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Make sure you got ~20GB free disk space to build for all PHP versions.
1212

1313
Make 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+).
1616
2. Set up Firebird 32-bit and 64-bit installations or libraries.
1717
3. Set up PHP-SDK according to https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2
1818
4. Clone php-firebird extension source somewhere.

win_build_scripts/php-fb-build.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ set pfb_build_root=php%pfb_php_vers%\%pfb_cpp_vers%\
5959
set check_code="if(!function_exists('ibase_connect'))exit(1);"
6060

6161
set 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
6868
set PATH=%TPATH%

win_build_scripts/php-fb-config.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ set PFB_VERS=3.0.1-%GIT_HASH%
1414
set 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

win_build_scripts/php-fb-sdk-build.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
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

1515
goto :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

0 commit comments

Comments
 (0)