Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- use the ext deps list for phpize's ADD_EXTENSION_DEP function

  • Loading branch information...
commit bfb9b6d06e6c14e8602d6eddf186c8707fd2d01b 1 parent ec3003a
@pierrejoye pierrejoye authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 win32/build/confutils.js
View
8 win32/build/confutils.js
@@ -1129,6 +1129,11 @@ function ADD_EXTENSION_DEP(extname, dependson, optional)
var dep_present = false;
var dep_shared = false;
+ if (MODE_PHPIZE) {
+ ext_deps_js = file_get_contents(PHP_DIR + "\\script\\ext_deps.js");
+ eval(ext_deps_js);
+ }
+
try {
dep_present = eval("PHP_" + DEP);
@@ -1681,7 +1686,8 @@ function generate_phpize()
var count = extensions_enabled.length;
for (i in extensions_enabled) {
- out = "PHP_" + extensions_enabled[i][0].toUpperCase() + "_SHARED=" + (extensions_enabled[i][1] == 'shared' ? 'True' : 'False');
+ out = "PHP_" + extensions_enabled[i][0].toUpperCase() + "_SHARED=" + (extensions_enabled[i][1] == 'shared' ? 'true' : 'false') + ";";
+ DEPS.WriteLine("PHP_" + extensions_enabled[i][0].toUpperCase() + "=true;");
DEPS.WriteLine(out);
MF.WriteLine(out);
}
Please sign in to comment.
Something went wrong with that request. Please try again.