summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-06-02 10:34:43 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-06-02 16:58:55 +0900
commit21b61b21c29d81204ad7d6135005126dd9b5dd7e (patch)
tree58e804d5d74d2d383c1a2ccd508a61fe9ff0c458 /win32
parent729b92ea469c35e4ddfeacccff1b46bd1ed657eb (diff)
Fix the case no file under bin directory
NMake cannot handle empty expanded targets.
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile.sub2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 1ff8a6fc20..7b56e43511 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -579,7 +579,9 @@ ABI_VERSION_HDR = $(hdrdir)/ruby/internal/abi.h
scriptbin: $(SCRIPTPROGRAMS)
+!if "$(SCRIPTPROGRAMS)" != ""
$(SCRIPTPROGRAMS): $(STUBPROGRAM)
+!endif
update-src::
@cd "$(srcdir:/=\)" && set LC_TIME=C && $(VCSUP)