Use VCVersion and Architecture for extension dependency directory name on Windows
This commit is contained in:
parent
00f360b99d
commit
1f97ce0215
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ Function Add-ExtensionPrerequisites{
|
||||||
[string]
|
[string]
|
||||||
$extension
|
$extension
|
||||||
)
|
)
|
||||||
$deps_dir = "$ext_dir\php$version-$extension"
|
$deps_dir = "$ext_dir\$extension-vc$installed.VCVersion-$arch"
|
||||||
$extensions_with_dependencies = ('imagick')
|
$extensions_with_dependencies = ('imagick')
|
||||||
if($extensions_with_dependencies.Contains($extension)) {
|
if($extensions_with_dependencies.Contains($extension)) {
|
||||||
if(-not(Test-Path $deps_dir)) {
|
if(-not(Test-Path $deps_dir)) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue