We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 526dc99 commit d172b16Copy full SHA for d172b16
extension/BuildPhpExtension/private/Get-ExtensionConfig.ps1
@@ -97,7 +97,11 @@ Function Get-ExtensionConfig {
97
}
98
if($null -ne $composerJson -and $null -ne $composerJson."php-ext" -and $null -ne $composerJson."php-ext"."configure-options") {
99
$composerJson."php-ext"."configure-options" | ForEach-Object {
100
- $config.options += "--$( $_.name )"
+ if($null -ne $_."needs-value" -and $_."needs-value" -eq $true -and $_.name -eq "with-$($Extension.ToLower())") {
101
+ $config.options += "--$($_.name)=shared"
102
+ } else {
103
+ $config.options += "--$( $_.name )"
104
+ }
105
106
107
$config.options = $config.options -join " "
0 commit comments