openvibers/source.openvibe.games Commits

Always overwrite tier0/vstdlib/steam_api compat libs

CO Copilot committed 2 Jul 2026 · c06ca772e1 · 1 file, +7 −3

steam_api.lib was already fixed at 1170 bytes (an earlier stale
single-symbol stub, source still unclear) by the time
Ensure-OpenVibeWin32ImportCompatibilityLibs ran, so the new DEF-based
generation was skipped for it via the Test-Path guard and the link
still got the useless old stub. Force-regenerate all three def-backed
libs unconditionally instead of only-if-absent.

Changes

ddiff --git a/tools/build-sdk-windows.ps1 b/tools/build-sdk-windows.ps1
iindex ba5dc27..e5c47c4 100644
---- a/tools/build-sdk-windows.ps1
++++ b/tools/build-sdk-windows.ps1
@@@ -964,10 +964,14 @@ function Ensure-OpenVibeWin32ImportCompatibilityLibs {
foreach ($libName in $defBackedLibs.Keys) {
$dest = Join-Path $publicLibDir $libName
++ # Unlike the placeholder libs below, always (re)generate these: an earlier
++ # pipeline stage (dependency-project builds, the dynamic resolver) can
++ # drop in a single-dummy-symbol stub at this same path before this
++ # function runs, and that stale stub silently wins if we only create
++ # on-absence. These three need the real DEF-based export table every
++ # time, so overwrite unconditionally.
if (Test-Path $dest) {
-- $item = Get-Item $dest
-- "[present] $libName $($item.Length)" | Out-File $log -Append
-- continue
++ Remove-Item -Force $dest
}
$info = $defBackedLibs[$libName]