Skip to content

Commit

Permalink
[Bug #19831] Remove duplicate library options
Browse files Browse the repository at this point in the history
`$(MAINLIBS)` should be included in `$(LIBRUBYARG)` in cases it is
needed.
  • Loading branch information
nobu committed Aug 17, 2023
1 parent 48b241e commit 5bb9462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/Makefile.in
Expand Up @@ -292,7 +292,7 @@ miniruby$(EXEEXT):
$(PROGRAM):
@$(RM) $@
$(ECHO) linking $@
$(Q) $(PURIFY) $(CC) $(EXE_LDFLAGS) $(XLDFLAGS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(MAINLIBS) $(EXTLIBS) $(OUTFLAG)$@
$(Q) $(PURIFY) $(CC) $(EXE_LDFLAGS) $(XLDFLAGS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(EXTLIBS) $(OUTFLAG)$@
$(Q) $(POSTLINK)

$(PROGRAM): @XRUBY_LIBPATHENV_WRAPPER@
Expand Down

0 comments on commit 5bb9462

Please sign in to comment.