diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 5174b96fd7..d6aafcd73e 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -145,6 +145,7 @@ LIBRUBY = $(RUBY_SO_NAME).lib LIBRUBYARG = $(LIBRUBY) EXTOBJS = +DLDOBJS = MAINOBJ = main.obj WINMAINOBJ = winmain.obj @@ -420,9 +421,9 @@ $(LIBRUBY_A): $(OBJS) dmyext.obj $(LIBRUBY): $(RUBYDEF) $(AR) $(ARFLAGS)$@ -def:$(RUBYDEF) -$(LIBRUBY_SO): $(LIBRUBY_A) $(EXTOBJS) $(RUBYDEF) $*.res - @echo. $(EXTOBJS) - $(LIBRUBY_LDSHARED) $(MAINOBJ) $(EXTOBJS) $(LIBRUBY_A) $*.res $(LIBS) \ +$(LIBRUBY_SO): $(LIBRUBY_A) $(DLDOBJS) $(RUBYDEF) $*.res + @echo. $(DLDOBJS) + $(LIBRUBY_LDSHARED) $(MAINOBJ) $(DLDOBJS) $(LIBRUBY_A) $*.res $(LIBS) \ -Fe$@ $(LDFLAGS) $(LIBRUBY_DLDFLAGS) $(RUBYDEF): $(LIBRUBY_A) miniruby$(EXEEXT) |