From d09cc33190bc433856245f4bdd75e94c3d809bf1 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Fri, 6 Dec 2024 23:42:15 +0100 Subject: [PATCH] Fix typo in "private" function name (Windows configuration) (GH-17069) This typo is particularly annoying if you search for "ldflags", because you won't find this function. --- win32/build/config.w32 | 2 +- win32/build/config.w32.phpize.in | 2 +- win32/build/confutils.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/win32/build/config.w32 b/win32/build/config.w32 index dd33e595a2e..2214b7341af 100644 --- a/win32/build/config.w32 +++ b/win32/build/config.w32 @@ -93,7 +93,7 @@ if (VS_TOOLSET) { } // General link flags -toolset_setup_common_ldlags(); +toolset_setup_common_ldflags(); // General libs toolset_setup_common_libs(); diff --git a/win32/build/config.w32.phpize.in b/win32/build/config.w32.phpize.in index 82b97e1145e..d15696bea54 100644 --- a/win32/build/config.w32.phpize.in +++ b/win32/build/config.w32.phpize.in @@ -67,7 +67,7 @@ if (VS_TOOLSET && PHP_MP != 'disable') { ARG_WITH("snapshot-template", "Path to snapshot builder template dir", "no"); // General link flags -toolset_setup_common_ldlags(); +toolset_setup_common_ldflags(); // General libs toolset_setup_common_libs(); diff --git a/win32/build/confutils.js b/win32/build/confutils.js index e847417bc77..e2b3f5dcb04 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -3388,7 +3388,7 @@ function toolset_setup_intrinsic_cflags() } } -function toolset_setup_common_ldlags() +function toolset_setup_common_ldflags() { var envLDFLAGS = WshShell.Environment("PROCESS").Item("LDFLAGS");