Skip to content

Commit

Permalink
Merge pull request #279 from ydah/fix-warn
Browse files Browse the repository at this point in the history
Fix a warning for frozen string literal
  • Loading branch information
nobu authored Jan 3, 2025
2 parents 09f6c03 + 16791ec commit 1e36baf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ if jruby?
require "rake/javaextensiontask"
extask = Rake::JavaExtensionTask.new("cparse") do |ext|
jruby_home = RbConfig::CONFIG['prefix']
lib_dir = (ext.lib_dir << "/#{ext.platform}/racc")
lib_dir = ext.lib_dir += "/#{ext.platform}/racc"
ext.ext_dir = 'ext/racc'
# source/target jvm
ext.source_version = '1.8'
Expand All @@ -80,7 +80,7 @@ else
# MRI
require "rake/extensiontask"
extask = Rake::ExtensionTask.new "cparse" do |ext|
lib_dir = (ext.lib_dir << "/#{RUBY_VERSION}/#{ext.platform}/racc")
lib_dir = ext.lib_dir += "/#{RUBY_VERSION}/#{ext.platform}/racc"
ext.ext_dir = 'ext/racc/cparse'
end
end
Expand Down

0 comments on commit 1e36baf

Please sign in to comment.