diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-11 10:29:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-11 10:29:00 +0000 |
commit | 50ad0f58bbac0eaee8293ebe886b4fd3128fc89b (patch) | |
tree | 4518f38912b69dcb9bf667ac4c7d484880ce6acf /win32 | |
parent | 1a9a3c394426eaeea17cc7b8dabbaded30c19aab (diff) | |
download | ruby-50ad0f58bbac0eaee8293ebe886b4fd3128fc89b.tar.gz |
* 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')
-rw-r--r-- | win32/Makefile.sub | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index c7cd2db699..5aad997f00 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 |