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

ruby-changes:11487

From: nobu <ko1@a...>
Date: Wed, 1 Apr 2009 19:39:37 +0900 (JST)
Subject: [ruby-changes:11487] Ruby:r23113 (trunk): * configure.in (LIBRUBY_LDSHARED): use $(CC) instead of cc.

nobu	2009-04-01 19:39:27 +0900 (Wed, 01 Apr 2009)

  New Revision: 23113

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

  Log:
    * configure.in (LIBRUBY_LDSHARED): use $(CC) instead of cc.
      a patch from Wataru Kimura at [ruby-dev:38225].

  Modified files:
    trunk/ChangeLog
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 23112)
+++ configure.in	(revision 23113)
@@ -1667,7 +1667,7 @@
 	when(rhapsody*)	: ${LDSHARED='cc -dynamic -bundle -undefined suppress'}
 			: ${LDFLAGS=""}
 			rb_cv_dlopen=yes ;;
-	when(darwin*)	: ${LDSHARED='cc -dynamic -bundle -undefined suppress -flat_namespace'}
+	when(darwin*)	: ${LDSHARED='$(CC) -dynamic -bundle -undefined suppress -flat_namespace'}
 			: ${LDFLAGS=""}
 			: ${LIBPATHENV=DYLD_LIBRARY_PATH}
 			# /usr/local/include is always searched for
@@ -1988,7 +1988,7 @@
 	;;
     when(darwin*)
 	RUBY_SO_NAME="$RUBY_SO_NAME"'.$(MAJOR).$(MINOR).$(TEENY)'
-	LIBRUBY_LDSHARED='cc -dynamiclib -undefined suppress -flat_namespace'
+	LIBRUBY_LDSHARED='$(CC) -dynamiclib -undefined suppress -flat_namespace'
 	if test "$load_relative" = yes; then
 	    libprefix='@executable_path/../lib'
 	else
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 23112)
+++ ChangeLog	(revision 23113)
@@ -1,3 +1,8 @@
+Wed Apr  1 19:39:25 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in (LIBRUBY_LDSHARED): use $(CC) instead of cc.
+	  a patch from Wataru Kimura at [ruby-dev:38225].
+
 Wed Apr  1 18:53:51 2009  Nobuyoshi Nakada  <nobu@r...>
 
 	* vm_dump.c (rb_vm_bugreport): should not #include inside a

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

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