summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-07 16:56:54 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-07 16:56:54 +0000
commit5abafda82620d9f0e0fe2934a298a5be7d191c62 (patch)
tree3c8ac557e92700b4a0497609061b6fc26e7f4c31 /test
parentf51f35a32fa672ef60bba39b4ab8908f24455dee (diff)
downloadruby-5abafda82620d9f0e0fe2934a298a5be7d191c62.tar.gz
add 64bit solaris library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/dl/test_base.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/dl/test_base.rb b/test/dl/test_base.rb
index 6a1f69398b..be23ffa35c 100644
--- a/test/dl/test_base.rb
+++ b/test/dl/test_base.rb
@@ -36,8 +36,14 @@ when /bsd|dragonfly/
LIBC_SO = "/usr/lib/libc.so"
LIBM_SO = "/usr/lib/libm.so"
when /solaris2/
- LIBC_SO = "/usr/lib/libc.so"
- LIBM_SO = "/usr/lib/libm.so"
+ case [0].pack('L!').size
+ when 4
+ libdir = '/usr/lib'
+ when 8
+ libdir = '/usr/lib/64'
+ end
+ LIBC_SO = "#{libdir}/libc.so"
+ LIBM_SO = "#{libdir}/libm.so"
else
LIBC_SO = ARGV[0]
LIBM_SO = ARGV[1]