ruby-changes:53692
From: odaira <ko1@a...>
Date: Thu, 22 Nov 2018 07:44:28 +0900 (JST)
Subject: [ruby-changes:53692] odaira:r65908 (trunk): * configure.ac: On AIX, LDFLAGS must be after -L../.. in TRY_LINK,
odaira 2018-11-22 07:44:24 +0900 (Thu, 22 Nov 2018) New Revision: 65908 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65908 Log: * configure.ac: On AIX, LDFLAGS must be after -L../.. in TRY_LINK, not to refer to a system-installed libruby-static.a when configuring the ext libraries Modified files: trunk/configure.ac Index: configure.ac =================================================================== --- configure.ac (revision 65907) +++ configure.ac (revision 65908) @@ -2708,8 +2708,8 @@ AS_IF([test "$with_dln_a_out" != yes], [ https://github.com/ruby/ruby/blob/trunk/configure.ac#L2708 XLDFLAGS="${linker_flag}"'-bE:$(ARCHFILE)'" ${linker_flag}-brtl" XLDFLAGS="$XLDFLAGS ${linker_flag}-blibpath:${prefix}/lib:${LIBPATH:-/usr/lib:/lib}" : ${ARCHFILE="ruby.imp"} - TRY_LINK='$(CC) $(LDFLAGS) -oconftest $(INCFLAGS) -I$(hdrdir) $(CPPFLAGS)' - TRY_LINK="$TRY_LINK"' $(CFLAGS) $(src) $(LIBPATH) $(LOCAL_LIBS) $(LIBS)' + TRY_LINK='$(CC) -oconftest $(INCFLAGS) -I$(hdrdir) $(CPPFLAGS)' + TRY_LINK="$TRY_LINK"' $(CFLAGS) $(src) $(LIBPATH) $(LDFLAGS) $(LOCAL_LIBS) $(LIBS)' : ${LIBPATHENV=LIBPATH} rb_cv_dlopen=yes], [nto-qnx*], [ DLDFLAGS="$DLDFLAGS -L/lib -L/usr/lib -L/usr/local/lib" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/