summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorMikhail Doronin <mikhail.doronin@thetrainline.com>2023-12-18 21:13:47 +0100
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-12-20 13:46:39 +0900
commitae2c4d07204dd714a7a5be7697541447b023ea25 (patch)
tree31bcd2775c5c3c39c1c690faaf42d7f1591d1977 /template
parent32ecda354f1556edbfdba4723716fa523acbc94d (diff)
Revert "[Bug #19831] Remove duplicate library options"
This reverts commit 5bb946228550c7f171c27725860b153a675404f3. Fixes https://bugs.ruby-lang.org/issues/20072
Diffstat (limited to 'template')
-rw-r--r--template/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/Makefile.in b/template/Makefile.in
index 9e553affac..8c462f20fb 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -296,7 +296,7 @@ miniruby$(EXEEXT):
$(PROGRAM):
@$(RM) $@
$(ECHO) linking $@
- $(Q) $(PURIFY) $(CC) $(EXE_LDFLAGS) $(XLDFLAGS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(EXTLIBS) $(OUTFLAG)$@
+ $(Q) $(PURIFY) $(CC) $(EXE_LDFLAGS) $(XLDFLAGS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(MAINLIBS) $(EXTLIBS) $(OUTFLAG)$@
$(Q) $(POSTLINK)
$(PROGRAM): @XRUBY_LIBPATHENV_WRAPPER@