[前][次][番号順一覧][スレッド一覧]

ruby-changes:30840

From: ngoto <ko1@a...>
Date: Thu, 12 Sep 2013 21:47:55 +0900 (JST)
Subject: [ruby-changes:30840] ngoto:r42919 (trunk): * Makefile.in (libruby-static.a): change LDFLAGS order. LDFLAGS may include library path that should be specified before LIBS.

ngoto	2013-09-12 21:47:49 +0900 (Thu, 12 Sep 2013)

  New Revision: 42919

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42919

  Log:
    * Makefile.in (libruby-static.a): change LDFLAGS order. LDFLAGS may include library path that should be specified before LIBS.
      [ruby-dev:47707] [Bug #8901]

  Modified files:
    trunk/ChangeLog
    trunk/Makefile.in
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42918)
+++ ChangeLog	(revision 42919)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Sep 12 21:35:46 2013  Naohisa Goto  <ngotogenome@g...>
+
+	* 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  <nobu@r...>
 
 	* vsnprintf.c (MAXEXP, MAXFRACT): calculate depending on constants in
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 42918)
+++ Makefile.in	(revision 42919)
@@ -215,7 +215,7 @@ $(LIBRUBY_A): https://github.com/ruby/ruby/blob/trunk/Makefile.in#L215
 		$(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):

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]