summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-20 18:13:08 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-20 18:13:08 +0000
commit9fe9ffb8423cb2dc2a10cf67a6efceaf1a8055a7 (patch)
tree424de9c72672ff482ef95a04165ccf51547ab005 /win32
parent466c78d5f2347df28dcc7e0ed37d7f5bfcb0177b (diff)
goruby build was broken
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile.sub5
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 61d492a..0a5bb14 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -505,6 +505,11 @@ PRELUDE_C = $(srcdir)/prelude.c
!else
PRELUDE_C = prelude.c
!endif
+!if !exist(golf_prelude.c) && exist($(srcdir)/golf_prelude.c)
+GOLF_PRELUDE_C = $(srcdir)/golf_prelude.c
+!else
+GOLF_PRELUDE_C = golf_prelude.c
+!endif
RBCONFIG = ./.rbconfig.time
!include $(srcdir)/common.mk