diff --git a/ext/configsub.rb b/ext/configsub.rb index 47689d7ec0c8fb..15d9a2e3d3ea7e 100644 --- a/ext/configsub.rb +++ b/ext/configsub.rb @@ -24,7 +24,7 @@ CONFIG['top_srcdir'] = File.expand_path($srcdir || ".") CONFIG['RUBY_INSTALL_NAME'] = $install_name if $install_name CONFIG['RUBY_SO_NAME'] = $so_name if $so_name - $defout = open($output, 'w') if $output + $stdout = open($output, 'w') if $output } gsub!(/@(\w+)@/) {CONFIG[$1] || $&}