diff options
| author | takano32 <takano32@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-28 03:58:02 +0000 |
|---|---|---|
| committer | takano32 <takano32@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-28 03:58:02 +0000 |
| commit | 4e970578754f450c7f90d98458f7949deb78633d (patch) | |
| tree | d6579519ba93ae41678512f47b46aa67d89e2433 | |
| parent | e66cd09dca89cf75b386c13d8cd981c4083a2e16 (diff) | |
| download | ruby-4e970578754f450c7f90d98458f7949deb78633d.tar.gz ruby-4e970578754f450c7f90d98458f7949deb78633d.tar.xz ruby-4e970578754f450c7f90d98458f7949deb78633d.zip | |
* ext/dl/test/test_base.rb: use libc.dylib when the platform is darwin.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | ext/dl/test/test_base.rb | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Sun Dec 28 12:53:10 2008 TAKANO Mitsuhiro (takano32) <tak@no32.tk> + + * ext/dl/test/test_base.rb: use libc.dylib when the platform is darwin. + Sun Dec 28 12:24:14 2008 Yusuke Endoh <mame@tsg.ne.jp> * thread.c (mutex_free, mutex_unlock): add qualifiers. diff --git a/ext/dl/test/test_base.rb b/ext/dl/test/test_base.rb index a0409b8ae..8466812a1 100644 --- a/ext/dl/test/test_base.rb +++ b/ext/dl/test/test_base.rb @@ -14,6 +14,9 @@ when /linux/ 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] |
