Skip to content

Commit fd8e846

Browse files
committed
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.
1 parent db5b51f commit fd8e846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/install_layout.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ SET(INSTALL_SCRIPTDIR_RPM "bin")
137137
SET(INSTALL_SYSCONFDIR_RPM"/etc")
138138
SET(INSTALL_SYSCONF2DIR_RPM "/etc/my.cnf.d")
139139
#
140-
IF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
140+
IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
141141
SET(INSTALL_LIBDIR_RPM "lib64")
142142
SET(INSTALL_PLUGINDIR_RPM "lib64/mysql/plugin")
143143
ELSE()

0 commit comments

Comments
 (0)