diff --git a/ChangeLog b/ChangeLog index aeacd7a2c2..006a58ce25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Sep 12 21:35:46 2013 Naohisa Goto + + * Makefile.in (libruby-static.a): change LDFLAGS order. LDFLAGS may + include library path that should be specified before LIBS. + [ruby-dev:47707] [Bug #8901] + Thu Sep 12 20:07:29 2013 Nobuyoshi Nakada * vsnprintf.c (MAXEXP, MAXFRACT): calculate depending on constants in diff --git a/Makefile.in b/Makefile.in index 0034381630..7e8ed8294b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -215,7 +215,7 @@ $(LIBRUBY_A): $(Q) $(AR) $(ARFLAGS) $@ $(LIBRUBY_A_OBJS) $(DMYEXT) @-$(RANLIB) $@ 2> /dev/null || true $(ECHO) verifying static-library $@ - @$(PURIFY) $(CC) $(XLDFLAGS) $(MAINOBJ) $(LIBRUBY_A) $(MAINLIBS) $(EXTLIBS) $(LIBS) $(OUTFLAG)conftest$(EXEEXT) $(LDFLAGS) + @$(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINOBJ) $(LIBRUBY_A) $(MAINLIBS) $(EXTLIBS) $(LIBS) $(OUTFLAG)conftest$(EXEEXT) @$(RM) conftest$(EXEEXT) conftest.c $(LIBRUBY_SO):