1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

Add dependency on libxcrypt for Rocky/RHEL9

This commit is contained in:
Timofey Turenko
2024-05-24 10:35:01 +03:00
committed by Leonid Fedorov
parent 3046f7f952
commit d3896efb0f

View File

@@ -135,8 +135,11 @@ IF(RPM)
STRING(REGEX MATCH "^." OS_VERSION_MAJOR "${LSB_RELEASE_VERSION_SHORT}")
MESSAGE(STATUS ${OS_VERSION_MAJOR})
IF (LSB_RELEASE_ID_SHORT MATCHES "centos|rocky")
IF (LSB_RELEASE_ID_SHORT MATCHES "centos|rocky|rhel|alma")
SET(OS_NAME_SHORT "el")
IF (OS_VERSION_MAJOR MATCHES "9")
SET(CPACK_RPM_PACKAGE_REQUIRES "libxcrypt-compat")
ENDIF()
ELSE()
SET(OS_NAME_SHORT "unknown")
ENDIF()