diff options
Diffstat (limited to 'ext/extmk.rb')
-rw-r--r-- | ext/extmk.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index 1df0b87cfc..97310f841d 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -99,8 +99,7 @@ getopts('', 'extstatic', 'make:', 'make-flags:') $force_static = $OPT['extstatic'] $make = $OPT['make'] || $make -$mflags = $OPT['make-flags'] || "" -$mflags = Shellwords.shellwords(mflags) +$mflags = Shellwords.shellwords($OPT['make-flags'] || "") if mflags = ENV["MAKEFLAGS"] mflags, = mflags.split(nil, 2) |