diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-26 05:08:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-26 05:08:55 +0000 |
commit | ddc7bcd60eaa0e470bf2837af31992f1599ef41f (patch) | |
tree | 09946c78b525475d4f339a4a3286e865463474e0 /win32 | |
parent | 7a0d81eaa25edf97a413c85e5560a05a30aaa5ad (diff) | |
download | ruby-ddc7bcd60eaa0e470bf2837af31992f1599ef41f.tar.gz |
* win32/Makefile.sub (newline.c, miniprelude.c): search from source
directory, not depending on VPATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index eba330b361..a796b32356 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -370,6 +370,17 @@ ruby: $(PROGRAM) rubyw: $(WPROGRAM) stub: $(STUBPROGRAM) +!if !exist(newline.c) && exist($(srcdir)/newline.c) +NEWLINE_C = $(srcdir)/newline.c +!else +NEWLINE_C = newline.c +!endif +!if !exist(miniprelude.c) && exist($(srcdir)/miniprelude.c) +MINIPRELUDE_C = $(srcdir)/miniprelude.c +!else +MINIPRELUDE_C = miniprelude.c +!endif + !include $(srcdir)/common.mk !ifdef SCRIPTPROGRAMS |