Skip to content

Commit 9e0d1c1

Browse files
gh-7: Add networking extension.
1 parent e1e0dc7 commit 9e0d1c1

3 files changed

Lines changed: 1286 additions & 698 deletions

File tree

build.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ try {
9898
$extSourcePath
9999
)
100100

101+
# Link the object files produced when building the main interpreter
102+
# so extensions can resolve internal runtime symbols (value_* helpers).
103+
$objFiles = Get-ChildItem -Path $buildDir -Filter *.obj -File -Recurse | ForEach-Object { $_.FullName }
104+
if ($objFiles.Count -gt 0) {
105+
$extArgs += $objFiles
106+
}
107+
101108
Write-Host "Invoking: cl.exe $($extArgs -join ' ')"
102109
& cl.exe @extArgs
103110
if ($LASTEXITCODE -ne 0) {

0 commit comments

Comments
 (0)