From 67f562a417e988d06c1d81885d8f3ab271cbf85d Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 16 May 2013 07:54:04 +0000 Subject: Makefile.in: loadpath from loadpath.c * Makefile.in (loadpath): $LOAD_PATH in miniruby is empty by default now. * win32/Makefile.sub (loadpath): separate for quirky cmd.exe syntax. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/Makefile.sub | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'win32/Makefile.sub') diff --git a/win32/Makefile.sub b/win32/Makefile.sub index b4522ccacf..443861eb66 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -1126,3 +1126,8 @@ INSNS = opt_sc.inc optinsn.inc optunifs.inc insns.inc insns_info.inc \ ! if [del insns_rules.mk > nul] ! endif !endif + +loadpath: verconf.h + @$(CPP) $(XCFLAGS) $(CPPFLAGS) $(srcdir)/loadpath.c | \ + sed -e '1,/^const char ruby_initial_load_paths/d;/;/,$$d' \ + -e '/^^ /!d;s/ *"\\\\0"$$//;s/" *"//g' -- cgit v1.2.3