summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-15 07:04:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-15 07:04:48 +0000
commit0f4d856d4ddd82638f2ee525ddb8fb4fd5dc1a17 (patch)
tree33ca93613496083bf996c4e5e433323278f14f56 /win32/Makefile.sub
parent895954ef91c974ceff829e0d06132853e87377ea (diff)
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
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub4
1 files changed, 1 insertions, 3 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index e1a283e73f3..2f59d83b0b2 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"