Catch the exception SystemExit in extconf.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1d64100b2a
commit
b5a8ba178f
@ -1,4 +1,7 @@
|
|||||||
require 'mkmf'
|
require 'mkmf'
|
||||||
|
|
||||||
|
begin # for the exception SystemExit
|
||||||
|
|
||||||
$:.unshift File.dirname(__FILE__)
|
$:.unshift File.dirname(__FILE__)
|
||||||
require 'type'
|
require 'type'
|
||||||
|
|
||||||
@ -194,3 +197,6 @@ $INSTALLFILES = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
create_makefile('dl')
|
create_makefile('dl')
|
||||||
|
rescue SystemExit
|
||||||
|
# do nothing
|
||||||
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user