diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2021-08-05 14:47:39 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2021-08-05 14:48:24 +0900 |
commit | 405644f38c64dca3524e3fa32fd9722bcd2a1e0b (patch) | |
tree | d49d52c030ec2536cca5f6d47aed2ff6bb1f52c1 /win32/Makefile.sub | |
parent | 3bb6410914329a23162fc5dcc1b16fecb50f9837 (diff) | |
download | ruby-405644f38c64dca3524e3fa32fd9722bcd2a1e0b.tar.gz |
Revert "Removed extinit.o from main programs"
This reverts commit ac86fcbfd0bab8667d277aa575bc5b81e5135d3c.
This change broke "--disable-shared --with-static-linked-ext".
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r-- | win32/Makefile.sub | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 2eb6292390..a1242363f7 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -1093,9 +1093,8 @@ miniruby.rc: !if "$(PROGRAM)" != "" $(PROGRAM): $(MAINOBJ) $(LIBRUBY_SO) $(RUBY_INSTALL_NAME).res $(ECHO) linking $(@:\=/) - $(Q) $(PURIFY) $(CC) $(MAINOBJ) \ - $(RUBY_INSTALL_NAME).res $(OUTFLAG)$@ $(LIBRUBYARG) \ - -link $(LDFLAGS) $(XLDFLAGS) + $(Q) $(PURIFY) $(CC) $(MAINOBJ) $(EXTOBJS) $(RUBY_INSTALL_NAME).res \ + $(OUTFLAG)$@ $(LIBRUBYARG) -link $(LDFLAGS) $(XLDFLAGS) $(Q) $(LDSHARED_0) $(Q) $(LDSHARED_1) $(Q) $(LDSHARED_2) |