Skip to content

Commit 3af9ff5

Browse files
authored
Merge pull request #89 from larskanis/update-rcd
Update to rcd-1.12.0
2 parents 6f1db85 + 4104f36 commit 3af9ff5

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎Gemfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ gem 'mini_portile2'
99

1010
group :development do
1111
gem 'rake-compiler', '~> 1.0'
12-
gem 'rake-compiler-dock', '~> 1.11.0'
12+
gem 'rake-compiler-dock', '~> 1.12.0'
1313
gem 'yard', '~> 0.8', '>= 0.9.36'
1414
gem "bundler", ">= 1.12", "< 5.a"
1515
gem "rake", "~> 13.0"

‎Rakefile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,10 @@ namespace :gem do
184184
task plat => ['gem', 'prepare'] do
185185
debug = "FXRUBY_MINGW_DEBUG=#{ENV['FXRUBY_MINGW_DEBUG'].inspect}" if ENV['FXRUBY_MINGW_DEBUG']
186186
RakeCompilerDock.sh <<-EOT, platform: plat
187+
sudo mkdir -p /__w/mingw-w64-gcc-xpack/mingw-w64-gcc-xpack/build/linux-arm64/application/x86_64-w64-mingw32/lib/../lib/ &&
188+
(sudo ln /xpack-mingw/x86_64-w64-mingw32/lib/libstdc++.la /__w/mingw-w64-gcc-xpack/mingw-w64-gcc-xpack/build/linux-arm64/application/x86_64-w64-mingw32/lib/../lib/libstdc++.la || true) &&
187189
sudo apt-get update &&
188190
sudo apt-get install -y yasm libtool m4 automake &&
189-
sudo chmod go+w /usr/local/rbenv/versions/4.0.0/lib/ruby/gems/4.0.0/plugins -R &&
190191
bundle config set without test &&
191192
bundle install --local &&
192193
rake native:#{plat} pkg/#{ext_task.gem_spec.full_name}-#{plat}.gem MAKE=\"nice make V=1 VERBOSE=1 -j `nproc`\" #{debug} RUBY_CC_VERSION=#{RakeCompilerDock.ruby_cc_version("~>4.0", "~>3.0")}

‎ext/fox16_c/extconf.rb‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ def install
224224
"LDFLAGS=#{"-lclang_rt.builtins-aarch64" if RUBY_PLATFORM=~/aarch64-mingw/}",
225225
# Avoid gcc error: fxscintilla-FXSCINTILLA-3_5_2/fox/PlatFOX.cxx:1034: undefined reference to `_imp___ZN11FXScintilla11sendMessageEjml'
226226
"CPPFLAGS=-DFOXDLL_EXPORTS",
227+
"CXXFLAGS=-include algorithm", # include is missing for std::fill() in ./SplitVector.h
227228
]
228229
recipe.cook_and_activate
229230
end

0 commit comments

Comments
 (0)