summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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