diff --git a/test/fiddle/helper.rb b/test/fiddle/helper.rb index 457e02f5..3fa2f9e4 100644 --- a/test/fiddle/helper.rb +++ b/test/fiddle/helper.rb @@ -117,7 +117,7 @@ %x!/usr/bin/ar x /usr/lib/libm.a #{mobjs.join(' ')}! %x!echo "#{funcs.join("\n")}\n" > #{expfile}! require 'rbconfig' - if RbConfig::CONFIG["GCC"] = 'yes' + if RbConfig::CONFIG["GCC"] == 'yes' lflag='-Wl,' else lflag=''