summaryrefslogtreecommitdiff
path: root/rubytest.rb
diff options
context:
space:
mode:
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 841a8758b7..6f717a2b60 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