Skip to content

Commit 8d41bcc

Browse files
committed
Specify pkgconf for el10
The Almalinux 10 image has the same problem as 9 when we try using our OpenSSL 3.0 when building the augeas gem.
1 parent 64797a6 commit 8d41bcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configs/components/ruby-augeas.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050
build_commands = []
5151

5252
extconf = "#{ruby} ext/augeas/extconf.rb"
53-
# The pkg-config shim gets confused on Almalinux 9 that we are building on
53+
# The pkg-config shim gets confused on Almalinux 9 and 10 that we are building on
5454
# due to the version of rpm being cranky about using our older OpenSSL version,
5555
# so bypass the shim and use pkgconf directly.
56-
extconf += ' --with-pkg-config=/usr/bin/pkgconf' if platform.name =~ /el-9/
56+
extconf += ' --with-pkg-config=/usr/bin/pkgconf' if platform.name =~ /el-(9|10)/
5757
build_commands << extconf
5858
build_commands << "#{platform[:make]} -e -j$(shell expr $(shell #{platform[:num_cores]}) + 1)"
5959

0 commit comments

Comments
 (0)