aboutsummaryrefslogtreecommitdiffstats
path: root/dln.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-02 10:01:57 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-02 10:01:57 +0000
commitf57217cc5212bb7f16a97887a6a39c9f90fd957f (patch)
treee63a8b44c0b8ba48c3b868e8469133998192bbf3 /dln.c
parent9ba59c3e528310ca70641b9a23d369b780226997 (diff)
downloadruby-f57217cc5212bb7f16a97887a6a39c9f90fd957f.tar.gz
* dln.c (dln_load): don't specify RTLD_GLOBAL on Interix,
because it caused SEGV when running runner.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.c')
-rw-r--r--dln.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dln.c b/dln.c
index 67ca195f60..76f0743358 100644
--- a/dln.c
+++ b/dln.c
@@ -1313,6 +1313,9 @@ dln_load(file)
#ifndef RTLD_LAZY
# define RTLD_LAZY 1
#endif
+#ifdef __INTERIX
+# undef RTLD_GLOBAL
+#endif
#ifndef RTLD_GLOBAL
# define RTLD_GLOBAL 0
#endif