diff --git a/ext/src/dll/make_def.ps1 b/ext/src/dll/make_def.ps1 index a1012387b6..a7ee93bc47 100644 --- a/ext/src/dll/make_def.ps1 +++ b/ext/src/dll/make_def.ps1 @@ -5,4 +5,4 @@ param ($dumpbin, $bindir, $inputfile, $targetfile) "LIBRARY opentelemetry_cpp`r`nEXPORTS`r`n" > $targetfile - Get-ChildItem -Verbose -Path $bindir/*.lib -Recurse | % { & "$dumpbin" /SYMBOLS $_ | Select-String -Pattern @(Get-Content -Verbose -Path "$inputfile" | Where-Object { $_.Trim() -ne '' } | % { "External\s+\|\s+(\?+[0-9]?$_[^\s]*)\s+\((.*)\)$" }) | % { "; $($_.matches.groups[2])`r`n$($_.matches.groups[1])" } >> $targetfile } + Get-ChildItem -Verbose -Path $bindir/sdk/*,$bindir/exporters/* -Include *.lib -Recurse | % { & "$dumpbin" /SYMBOLS $_ | Select-String -Pattern @(Get-Content -Verbose -Path "$inputfile" | Where-Object { $_.Trim() -ne '' } | % { "External\s+\|\s+(\?+[0-9]?$_[^\s]*)\s+\((.*)\)$" }) | % { "; $($_.matches.groups[2])`r`n$($_.matches.groups[1])" } >> $targetfile }