mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 15:26:23 +07:00 
			
		
		
		
	Use VCVersion and Architecture for extension dependency directory name on Windows
This commit is contained in:
		| @ -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)) { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur