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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTvbHMpudRfQWK4c4H
This commit is contained in:
Claude committed 2026-11-11 12:35:44 +00:00
1 parent 9b2206e29a
commit b9e34ceca1
1 file changed
+2 -1
+2 -1
View File
@@ -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