Use VCVersion and Architecture for extension dependency directory name on Windows

This commit is contained in:
Shivam Mathur 2021-05-12 22:45:06 +05:30
parent 00f360b99d
commit 1f97ce0215
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -127,7 +127,7 @@ Function Add-ExtensionPrerequisites{
[string]
$extension
)
$deps_dir = "$ext_dir\php$version-$extension"
$deps_dir = "$ext_dir\$extension-vc$installed.VCVersion-$arch"
$extensions_with_dependencies = ('imagick')
if($extensions_with_dependencies.Contains($extension)) {
if(-not(Test-Path $deps_dir)) {