summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-11 10:29:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-11 10:29:00 +0000
commit50ad0f58bbac0eaee8293ebe886b4fd3128fc89b (patch)
tree4518f38912b69dcb9bf667ac4c7d484880ce6acf /win32/Makefile.sub
parent1a9a3c394426eaeea17cc7b8dabbaded30c19aab (diff)
* win32/Makefile.sub (prelude.c): search from source directory,
not depending on VPATH, in parallel to r35135. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub5
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index c7cd2db..5aad997 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -403,6 +403,11 @@ MINIPRELUDE_C = $(srcdir)/miniprelude.c
!else
MINIPRELUDE_C = miniprelude.c
!endif
+!if !exist(prelude.c) && exist($(srcdir)/prelude.c)
+PRELUDE_C = $(srcdir)/prelude.c
+!else
+PRELUDE_C = prelude.c
+!endif
RBCONFIG = ./.rbconfig.time
!include $(srcdir)/common.mk