com web/rmtools: pass all the env to the build: include/PeclBuildVC.php
| From: | Anatol Belski | Date: | Mon, 31 Jul 2017 11:57:58 +0000 |
| Subject: | com web/rmtools: pass all the env to the build: include/PeclBuildVC.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26266@lists.php.net to get a copy of this message | ||
Commit: a09415f6de5ab88faeffd52f89186a4fd119ee7f
Author: Anatol Belski <ab@php.net> 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. */
/*