summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub6
1 files changed, 4 insertions, 2 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 3af99a14ed..bb99e88a08 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -69,9 +69,11 @@ DEBUGFLAGS = -Zi
!if !defined(OPTFLAGS)
OPTFLAGS = -O2b2xg-
!endif
-!if !defined(OS) || !defined(RT)
+!if !defined(OS)
OS = mswin32
-RT = msvcrt
+!endif
+!if !defined(RT)
+!error RT not defined. Retry from configure pass.
!endif
!ifndef RUBY_SO_NAME