Skip to content

Commit

Permalink
Grep dumpbin
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Nov 16, 2024
1 parent 87e3762 commit 4971e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win32/Makefile.sub
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,6 @@ $(LIBRUBY_SO): $(LIBRUBY_A) $(DLDOBJS) $(RUBYDEF) $(RUBY_SO_NAME).res
@-$(PRE_LIBRUBY_UPDATE)
!endif
$(ECHO) linking shared-library $(@:\=/)
@echo $(RUBYDEF) && type $(RUBYDEF)
$(Q) $(LDSHARED) $(DLDOBJS) $(LIBRUBY_A) \
$(RUBY_SO_NAME).res $(SOLIBS) $(EXTSOLIBS) $(LIBS) \
$(OUTFLAG)$@ -link $(LDFLAGS) $(XLDFLAGS) \
Expand All @@ -1253,6 +1252,7 @@ $(LIBRUBY_SO): $(LIBRUBY_A) $(DLDOBJS) $(RUBYDEF) $(RUBY_SO_NAME).res

$(RUBYDEF): $(LIBRUBY_A) $(RBCONFIG)
$(ECHO) generating $(@:\=/)
@dumpbin -symbols -exports $(LIBRUBY_A) | grep -A100 _ucrt_
$(Q) $(BOOTSTRAPRUBY_COMMAND) $(srcdir)/win32/mkexports.rb \
-output=$@ -arch=$(ARCH) $(LIBRUBY_A)

Expand Down

0 comments on commit 4971e10

Please sign in to comment.