Commit: 645ed311e2eae44fd152bbb5cbd689a2589c56e5 Author: Anatol Belski <[email protected]> Tue, 11 Apr 2017 15:18:52 +0200 Parents: 866658ccf35842d4037db4902148671476985bc5 Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=645ed311e2eae44fd152bbb5cbd689a2589c56e5 Log: fetch the whole env to pass to nmake Changed paths: M include/BuildVC.php Diff: diff --git a/include/BuildVC.php b/include/BuildVC.php index 4ec8561..889226f 100644 --- a/include/BuildVC.php +++ b/include/BuildVC.php @@ -51,14 +51,15 @@ class BuildVC { 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
