Commit fd8e846a authored by Sergey Vojtovich's avatar Sergey Vojtovich

MDEV-9564 - added s390x to lib64 INSTALL_LIBDIR handling

Adjusted INSTALL_LIBDIR detection so that it is set to "lib64" on any 64bit
system (not only x86_64). New condition is insipired by GNUInstallDirs cmake
module.
parent db5b51fb
...@@ -137,7 +137,7 @@ SET(INSTALL_SCRIPTDIR_RPM "bin") ...@@ -137,7 +137,7 @@ SET(INSTALL_SCRIPTDIR_RPM "bin")
SET(INSTALL_SYSCONFDIR_RPM "/etc") SET(INSTALL_SYSCONFDIR_RPM "/etc")
SET(INSTALL_SYSCONF2DIR_RPM "/etc/my.cnf.d") SET(INSTALL_SYSCONF2DIR_RPM "/etc/my.cnf.d")
# #
IF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
SET(INSTALL_LIBDIR_RPM "lib64") SET(INSTALL_LIBDIR_RPM "lib64")
SET(INSTALL_PLUGINDIR_RPM "lib64/mysql/plugin") SET(INSTALL_PLUGINDIR_RPM "lib64/mysql/plugin")
ELSE() ELSE()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment