diff options
-rw-r--r-- | lib/mkmf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index cdb51e05c8..27892b3c04 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -251,7 +251,7 @@ module MakeMakefile OUTFLAG = CONFIG['OUTFLAG'] COUTFLAG = CONFIG['COUTFLAG'] - CPPOUTFILE = CONFIG['CPPOUTFILE'] ? CONFIG['CPPOUTFILE'].sub(/\bconftest\b/, CONFTEST) : nil + CPPOUTFILE = config_string('CPPOUTFILE') {|str| str.sub(/\bconftest\b/, CONFTEST)} def rm_f(*files) opt = (Hash === files.last ? [files.pop] : []) |