From 1f97ce02151238bd9f7b5ba6bfc7f9319cfd3506 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Wed, 12 May 2021 22:45:06 +0530 Subject: [PATCH] Use VCVersion and Architecture for extension dependency directory name on Windows --- src/scripts/win32.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/win32.ps1 b/src/scripts/win32.ps1 index 05fc0b15..48fbad6d 100644 --- a/src/scripts/win32.ps1 +++ b/src/scripts/win32.ps1 @@ -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)) {