Skip to content

Commit 62d79dc

Browse files
committed
Fix copying ext headers
1 parent 03d44c2 commit 62d79dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/BuildPhpExtension/private/Add-Extension.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Function Add-Extension {
3838
& $builder -t $task
3939
$includePath = "$currentDirectory\php-dev\include"
4040
New-Item -Path $includePath\ext -Name $Extension -ItemType "directory" | Out-Null
41-
Copy-Item "*.h" -Destination "$includePath\ext\$Extension" -Recurse
41+
Get-ChildItem -Path (Get-Location).Path -Recurse -Include '*.h', '*.c' | Copy-Item -Destination "$includePath\ext\$Extension"
4242
Set-Location $currentDirectory
4343
}
4444
end {

0 commit comments

Comments
 (0)