Skip to content

Commit b508808

Browse files
committed
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.
1 parent 726cf51 commit b508808

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

win32/build/phpize.js.in

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ function find_config_w32(dirname)
9191

9292
deps = get_module_dep(contents);
9393

94+
n = f.Name;
9495
item = new Module_Item(n, c, dir_line, deps, contents);
9596
MODULES.Add(n, item);
9697
}

0 commit comments

Comments
 (0)