We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ee035a commit 80997a5Copy full SHA for 80997a5
1 file changed
build-scripts/compile-options
@@ -36,8 +36,10 @@ export PROJECT
36
# Otherwise, we build it.
37
if [ x"$SYSTEM_SSL" = x ]
38
then
39
- # We don't bundle OpenSSL on RHEL 8 (and newer in the future)
40
- if [ "$OS" = "rhel" ] && expr "$OS_VERSION" ">=" "8" >/dev/null
+ # We don't bundle OpenSSL on some redhat-derived systems due to incompatability with libpam and our openssl.
+ _OS_MAJOR_VERSION="$(echo "$OS_VERSION" | cut -d. -f1)"
41
+ if [[ ( ( "$OS" == "rhel" ) && ( $(( _OS_MAJOR_VERSION >= 8 )) == 1 ) ) ||
42
+ ( ( "$OS" == "opensuse" || "$OS" == "sles" ) && ( $(( _OS_MAJOR_VERSION >= 15 )) == 1 ) ) ]]
43
44
SYSTEM_SSL=1
45
fi
0 commit comments