Browse Source

- add PHP_PHP_BUILD\bin to the path in PATH_PROG (option set with --with-php-builds=[PATH] the zip.zip contains all we need (except re2c! )

PECL
Pierre Joye 19 years ago
parent
commit
af15fe6531
  1. 5
      win32/build/confutils.js

5
win32/build/confutils.js

@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
// $Id: confutils.js,v 1.60.2.1.2.8.2.2 2008-01-10 18:21:56 rrichards Exp $
// $Id: confutils.js,v 1.60.2.1.2.8.2.3 2008-02-17 01:26:15 pajoye Exp $
var STDOUT = WScript.StdOut;
var STDERR = WScript.StdErr;
@ -501,6 +501,7 @@ function PATH_PROG(progname, additional_paths, symbol)
var exe;
var place;
var cyg_path = PHP_CYGWIN + "\\bin;" + PHP_CYGWIN + "\\usr\\local\\bin";
var php_build_bin_path = PHP_PHP_BUILD + "\\bin"
exe = progname + ".exe";
@ -510,6 +511,8 @@ function PATH_PROG(progname, additional_paths, symbol)
additional_paths += ";" + cyg_path;
}
additional_paths = additional_paths + ";" + php_build_bin_path;
place = search_paths(exe, additional_paths, "PATH");
if (place == true) {

Loading…
Cancel
Save