9d92f30a43 (master): mswin: Fix dependencies to build ruby.exe in a single nmake run

0 views
Skip to first unread message

Hiroshi SHIBATA

unread,
Aug 3, 2026, 10:32:17 PM (14 hours ago) Aug 3
to ruby...@g.ruby-lang.org
Hiroshi SHIBATA 2026-08-04 00:58:37 +0000 (Tue, 04 Aug 2026)

New Revision: 9d92f30a43

https://github.com/ruby/ruby/commit/9d92f30a43

Log:
mswin: Fix dependencies to build ruby.exe in a single nmake run

In a clean build directory, `{$(VPATH)}config.h` prerequisites in
common.mk fall back to the bare name, which nothing knows how to build
(U1073). Also rbconfig.rb is always generated by miniruby here
regardless of BASERUBY, but did not depend on it, so rules reached via
verconf.h could run miniruby.exe before it was linked. Now `nmake
prog` works without preceding `nmake incs` and `nmake mini`.

Co-Authored-By: Claude Fable 5 <nor...@anthropic.com>

Modified files:
win32/Makefile.sub
Reply all
Reply to author
Forward
0 new messages