From 61879097bd6476709cafb395d056469cf2bc9d92 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Fri, 6 Dec 2024 20:18:52 +0100 Subject: [PATCH] Fix typo in "private" function name (Windows configuration) 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 dd33e595a2ee..2214b7341afa 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 82b97e1145e9..d15696bea54e 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 e847417bc77b..e2b3f5dcb047 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");