diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-08-16 21:39:49 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-08-17 10:57:09 +0900 |
commit | 5bb946228550c7f171c27725860b153a675404f3 (patch) | |
tree | 65bd205af8410880daf279af0e462b091937d8a7 /template | |
parent | 48b241e53fdb68c0ad115bcd23a43b310cc18db1 (diff) |
[Bug #19831] Remove duplicate library options
`$(MAINLIBS)` should be included in `$(LIBRUBYARG)` in cases it is
needed.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8233
Diffstat (limited to 'template')
-rw-r--r-- | template/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/Makefile.in b/template/Makefile.in index e95b0dd32a..893581c457 100644 --- a/template/Makefile.in +++ b/template/Makefile.in @@ -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@ |