From 0f4d856d4ddd82638f2ee525ddb8fb4fd5dc1a17 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 15 May 2017 07:04:48 +0000 Subject: define RUBY_DEBUG_ENV only for main.c git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/Makefile.sub | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'win32') diff --git a/win32/Makefile.sub b/win32/Makefile.sub index e1a283e73f..2f59d83b0b 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -364,6 +364,7 @@ OS_DEST_FILE = $(@:/=\) !if !defined(WINMAINOBJ) WINMAINOBJ = winmain.$(OBJEXT) !endif +MAINSRC = $(MAINOBJ:.obj=.c) ARCHMINIOBJS = dmydln.$(OBJEXT) miniruby.res LIBOBJS = $(MISSING) $(LIBOBJS) @@ -772,9 +773,6 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub !endif #define CANONICALIZATION_FOR_MATHN 1 #define DEFAULT_KCODE KCODE_NONE -!if "$(ENABLE_DEBUG_ENV)" == "yes" -#define RUBY_DEBUG_ENV 1 -!endif #define LOAD_RELATIVE 1 #define DLEXT ".so" !if "$(EXTSTATIC)" == "static" -- cgit v1.2.3