summaryrefslogtreecommitdiff
path: root/ext/dl
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-01 15:21:34 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-01 15:21:34 +0000
commitb5a8ba178ffa5ba106a893a958db05e1dd4abd82 (patch)
tree1408bb25a0744b4c356e94f1e82166897500e3d9 /ext/dl
parent1d64100b2ae162adebe52f29fddfd309721f597e (diff)
Catch the exception SystemExit in extconf.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl')
-rw-r--r--ext/dl/extconf.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/dl/extconf.rb b/ext/dl/extconf.rb
index ea4ebfdf9ac..d119ed1d6d5 100644
--- a/ext/dl/extconf.rb
+++ b/ext/dl/extconf.rb
@@ -1,4 +1,7 @@
require 'mkmf'
+
+begin # for the exception SystemExit
+
$:.unshift File.dirname(__FILE__)
require 'type'
@@ -194,3 +197,6 @@ $INSTALLFILES = [
]
create_makefile('dl')
+rescue SystemExit
+ # do nothing
+end