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 03d44c2 commit 62d79dcCopy full SHA for 62d79dc
extension/BuildPhpExtension/private/Add-Extension.ps1
@@ -38,7 +38,7 @@ Function Add-Extension {
38
& $builder -t $task
39
$includePath = "$currentDirectory\php-dev\include"
40
New-Item -Path $includePath\ext -Name $Extension -ItemType "directory" | Out-Null
41
- Copy-Item "*.h" -Destination "$includePath\ext\$Extension" -Recurse
+ Get-ChildItem -Path (Get-Location).Path -Recurse -Include '*.h', '*.c' | Copy-Item -Destination "$includePath\ext\$Extension"
42
Set-Location $currentDirectory
43
}
44
end {
0 commit comments