summaryrefslogtreecommitdiffstats
path: root/rubytest.rb
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-01 14:35:51 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-01 14:35:51 +0000
commit3f0768897059b942f7ae9276f0fe2d4ae6611a5b (patch)
tree7700eca778fe75fc42026ac0c94f58d8178d1e06 /rubytest.rb
parent410c626a915f91625f13de556b42f424a18901c2 (diff)
downloadruby-3f0768897059b942f7ae9276f0fe2d4ae6611a5b.tar.gz
ruby-3f0768897059b942f7ae9276f0fe2d4ae6611a5b.tar.xz
ruby-3f0768897059b942f7ae9276f0fe2d4ae6611a5b.zip
set dldpath on darwin
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubytest.rb')
-rw-r--r--rubytest.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/rubytest.rb b/rubytest.rb
index 841a8758b..6f717a2b6 100644
--- a/rubytest.rb
+++ b/rubytest.rb
@@ -17,6 +17,8 @@ if File.exist? CONFIG['LIBRUBY_SO']
dldpath = "LIBPATH"
when /-beos/
dldpath = "LIBRARY_PATH"
+ when /-darwin/
+ dldpath = "DYLD_LIBRARY_PATH"
else
dldpath = "LD_LIBRARY_PATH"
end