Skip to content

Commit d8c3753

Browse files
committed
Update to postgresql-17.0 and openssl-3.4.0 for Windows binary gems
1 parent 86367c6 commit d8c3753

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Rakefile.cross

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class CrossLibrary < OpenStruct
3131
self.host_platform = toolchain
3232

3333
# Cross-compilation constants
34-
self.openssl_version = ENV['OPENSSL_VERSION'] || '3.3.2'
35-
self.postgresql_version = ENV['POSTGRESQL_VERSION'] || '16.4'
34+
self.openssl_version = ENV['OPENSSL_VERSION'] || '3.4.0'
35+
self.postgresql_version = ENV['POSTGRESQL_VERSION'] || '17.0'
3636

3737
# Check if symlinks work in the current working directory.
3838
# This fails, if rake-compiler-dock is running on a Windows box.
@@ -289,6 +289,7 @@ CrossLibraries.each do |xlib|
289289
task "gem:windows:#{platform}" => ['gem:windows:prepare', xlib.openssl_tarball, xlib.postgresql_tarball] do
290290
RakeCompilerDock.sh <<-EOT, platform: platform
291291
(cp build/gem/gem-*.pem ~/.gem/ || true) &&
292+
sudo apt-get update && sudo apt-get install -y bison flex &&
292293
bundle install --local &&
293294
rake native:#{platform} pkg/#{$gem_spec.full_name}-#{platform}.gem MAKEOPTS=-j`nproc` RUBY_CC_VERSION=3.3.0:3.2.0:3.1.0:3.0.0:2.7.0:2.6.0:2.5.0
294295
EOT

0 commit comments

Comments
 (0)