summaryrefslogtreecommitdiff
path: root/ext/dl
diff options
context:
space:
mode:
authortakano32 <takano32@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-28 03:58:02 +0000
committertakano32 <takano32@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-28 03:58:02 +0000
commit04b672f34b2ff39b90123045ccf3f67b811ff170 (patch)
treed6579519ba93ae41678512f47b46aa67d89e2433 /ext/dl
parentb66af67f2190b377a418b6fc4230838c257cc7d1 (diff)
* ext/dl/test/test_base.rb: use libc.dylib when the platform is darwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl')
-rw-r--r--ext/dl/test/test_base.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/dl/test/test_base.rb b/ext/dl/test/test_base.rb
index a0409b8ae8..8466812a1e 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]