diff options
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r-- | win32/Makefile.sub | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 56303ccdb0..9ac87ab6e3 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -1057,6 +1057,12 @@ $(STUBPROGRAM): rubystub.$(OBJEXT) $(LIBRUBY) $(LIBRUBY_SO) $(RUBY_INSTALL_NAME) $(Q) $(LDSHARED_2) !endif +!if "$(LIBRUBY_SO_UPDATE)" == "" +PRE_LIBRUBY_UPDATE = $(RM) $(LIBRUBY_EXTS) +!else +PRE_LIBRUBY_UPDATE = +!endif + $(LIBRUBY_A): $(OBJS) $(INITOBJS) $(ECHO) linking static-library $(@:\=/) $(Q) $(AR) $(ARFLAGS)$@ $(OBJS) $(INITOBJS) |