We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71da1d9 commit 67a7c34Copy full SHA for 67a7c34
ext/extmk.rb
@@ -105,7 +105,7 @@ def extmake(target)
105
$force_static = $OPT['extstatic'] == 'static'
106
$make = $OPT['make'] || $make
107
$mflags = Shellwords.shellwords($OPT['make-flags'] || "")
108
-$mflags[0].sub!(/^(?=\w+)$/, "-") unless mflags.empty?
+$mflags[0].sub!(/^(?=\w+)$/, "-") unless $mflags.empty?
109
$make, *$mflags[0, 0] = Shellwords.shellwords($make)
110
111
mflags = $mflags.grep(/^-([^-].*)/) {$1}.join
0 commit comments