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 e6d8e3f commit 726837eCopy full SHA for 726837e
extension/BuildPhpExtension/private/Add-Package.ps1
@@ -76,6 +76,15 @@ function Add-Package {
76
Remove-Item -Path "vc140.pdb" -Force
77
}
78
79
+ # Keep only the extension DLL for ddtrace.
80
+ if($Config.name -eq 'ddtrace') {
81
+ Get-ChildItem -Filter "*.dll" | ForEach-Object {
82
+ if($_.Name -ne "php_$($Config.name).dll") {
83
+ Remove-Item -Path $_.FullName -Force
84
+ }
85
86
87
+
88
# As per https://github.com/ThePHPF/pie-design#windows-binaries
89
$arch = $Config.arch
90
if(-not(Test-Path -Path "php_$($Config.name).dll")) {
0 commit comments