mirror of
https://github.com/php/php-src.git
synced 2024-12-12 11:23:53 +08:00
force ext_dep.js prepend to configure.js in phpize mode
This commit is contained in:
parent
e7f36ba693
commit
1f90dd3359
@ -1168,11 +1168,6 @@ 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);
|
||||
|
||||
|
@ -209,6 +209,8 @@ C.WriteLine("/* This file automatically generated from script/confutils.js */");
|
||||
C.WriteLine("var MODE_PHPIZE = true;");
|
||||
C.WriteLine("var PHP_DIR = " + '"' + PHP_DIR.replace(new RegExp('(["\\\\])', "g"), '\\$1') + '"');
|
||||
|
||||
C.Write(file_get_contents(PHP_DIR + "//script//ext_deps.js"));
|
||||
|
||||
C.Write(file_get_contents(PHP_DIR + "/script/confutils.js"));
|
||||
C.Write(file_get_contents(PHP_DIR + "/script/config.phpize.js"));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user