Commit: a09415f6de5ab88faeffd52f89186a4fd119ee7f Author: Anatol Belski <[email protected]> Mon, 31 Jul 2017 13:57:58 +0200 Parents: f0831e59e17b7e3efea61433d69effc777702e52 Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=a09415f6de5ab88faeffd52f89186a4fd119ee7f Log: pass all the env to the build Changed paths: M include/PeclBuildVC.php Diff: diff --git a/include/PeclBuildVC.php b/include/PeclBuildVC.php index 7a760d9..938c607 100644 --- a/include/PeclBuildVC.php +++ b/include/PeclBuildVC.php @@ -53,14 +53,15 @@ class PeclBuildVC { throw new \Exception("Compiler mismatch. PHP SDK is configured for '$sdk_vc', while the current RMTOOLS config targets '{$this->compiler}'"); } - $env = array(); + $env = getenv(); + /*$env = array(); $env['PATH'] = getenv('PATH') ; $env['INCLUDE'] = getenv('INCLUDE'); $env['LIB'] = getenv('LIB'); $env['TMP'] = $env['TEMP'] = getenv('TEMP'); $env['SystemDrive'] = getenv('SystemDrive'); - $env['SystemRoot'] = getenv('SystemRoot'); + $env['SystemRoot'] = getenv('SystemRoot');*/ /* XXX Not sure, in how far the below is needed. */ /* -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
