From b5a8ba178ffa5ba106a893a958db05e1dd4abd82 Mon Sep 17 00:00:00 2001 From: ttate Date: Wed, 1 May 2002 15:21:34 +0000 Subject: Catch the exception SystemExit in extconf.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/dl/extconf.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ext') 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 -- cgit v1.2.3