summaryrefslogtreecommitdiff
path: root/ext/dl/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/extconf.rb')
-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 ea4ebfdf9a..d119ed1d6d 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