mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Use VCVersion and Architecture for extension dependency directory name on Windows
This commit is contained in:
parent
00f360b99d
commit
1f97ce0215
@ -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 New Issue
Block a user