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 /ext/dl/test | |
| 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
Diffstat (limited to 'ext/dl/test')
| -rw-r--r-- | ext/dl/test/test_base.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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] |
