From 6010299c4a2aec60cb83b00222899bc45af197c2 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Mon, 10 Feb 2025 17:44:33 +0100 Subject: [PATCH] Fix phpize on windows It seems like n === undefined must have worked on older versions of jscript, but currently it just causes the insertion to silently fail. This sets n to the current folder name, allowing phpize to include the local config.w32 files. --- win32/build/phpize.js.in | 1 + 1 file changed, 1 insertion(+) diff --git a/win32/build/phpize.js.in b/win32/build/phpize.js.in index 49871481e8907..c5f57737c97d0 100644 --- a/win32/build/phpize.js.in +++ b/win32/build/phpize.js.in @@ -91,6 +91,7 @@ function find_config_w32(dirname) deps = get_module_dep(contents); + n = ""; item = new Module_Item(n, c, dir_line, deps, contents); MODULES.Add(n, item); }