summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-28 09:42:17 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-28 09:42:17 +0000
commita90a01acee452bac96ac2a5cdfdc0780c330f6b6 (patch)
tree6000dc43554345f87b93cbeabc476eba00630eab /ext
parent259ed6176f32bed0e02fd3a546977efc432da755 (diff)
merges r21100 and r21107 from trunk into ruby_1_9_1.
* ext/dl/test/test_base.rb: use lib64 when the architecture is x86_64. * ext/dl/test/test_base.rb: use libc.dylib when the platform is darwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/dl/test/test_base.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/dl/test/test_base.rb b/ext/dl/test/test_base.rb
index fc72db4e5e..8466812a1e 100644
--- a/ext/dl/test/test_base.rb
+++ b/ext/dl/test/test_base.rb
@@ -5,12 +5,18 @@ case RUBY_PLATFORM
when /cygwin/
LIBC_SO = "cygwin1.dll"
LIBM_SO = "cygwin1.dll"
+when /x86_64-linux/
+ LIBC_SO = "/lib64/libc.so.6"
+ LIBM_SO = "/lib64/libm.so.6"
when /linux/
LIBC_SO = "/lib/libc.so.6"
LIBM_SO = "/lib/libm.so.6"
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]