From b9e34ceca1d3eae50306a3c28e2a24bd75830722 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 11 Nov 2026 12:35:44 +0000 Subject: [PATCH] Watcom build: the library's objects named apart from the app's core/src/voice.c and windows/src/voice.cpp both made voice.obj, the second overwriting the first. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01B82eRTvbHMpudRfQWK4c4H --- windows/build-watcom.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/windows/build-watcom.sh b/windows/build-watcom.sh index 8d79a45..8d73378 100755 --- a/windows/build-watcom.sh +++ b/windows/build-watcom.sh @@ -22,7 +22,8 @@ cppopts="-q -bt=nt -bm -3r -ox -w4 -zq -xs $inc -i=$here/src" objs="" failed=0 for f in "$root"/core/src/*.c; do - o=$(basename "$f" .c).obj + # (core_: the library's names apart from the app's, voice.c and voice.cpp) + o=core_$(basename "$f" .c).obj wcc386 $copts -fo="$o" "$f" || failed=1 objs="$objs $o" done