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

ruby-changes:9567

From: takano32 <ko1@a...>
Date: Sun, 28 Dec 2008 12:58:16 +0900 (JST)
Subject: [ruby-changes:9567] Ruby:r21107 (trunk): * ext/dl/test/test_base.rb: use libc.dylib when the platform is darwin.

takano32	2008-12-28 12:58:02 +0900 (Sun, 28 Dec 2008)

  New Revision: 21107

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

  Log:
    * ext/dl/test/test_base.rb: use libc.dylib when the platform is darwin.

  Modified files:
    trunk/ChangeLog
    trunk/ext/dl/test/test_base.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 21106)
+++ ChangeLog	(revision 21107)
@@ -1,3 +1,7 @@
+Sun Dec 28 12:53:10 2008  TAKANO Mitsuhiro (takano32)  <tak@n...>
+
+	* ext/dl/test/test_base.rb: use libc.dylib when the platform is darwin.
+
 Sun Dec 28 12:24:14 2008  Yusuke Endoh  <mame@t...>
 
 	* thread.c (mutex_free, mutex_unlock): add qualifiers.
Index: ext/dl/test/test_base.rb
===================================================================
--- ext/dl/test/test_base.rb	(revision 21106)
+++ ext/dl/test/test_base.rb	(revision 21107)
@@ -14,6 +14,9 @@
 when /mingw/, /mswin32/
   LIBC_SO = "msvcrt.dll"
   LIBM_SO = "msvcrt.dll"
+when /darwin/
+  LIBC_SO = "/usr/lib/libc.dylib"
+  LIBM_SO = "/usr/lib/libm.dylib"
 else
   LIBC_SO = ARGV[0]
   LIBM_SO = ARGV[1]

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

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