summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Perkin <jonathan.perkin@oracle.com>2010-04-19 20:21:04 +0200
committerJonathan Perkin <jonathan.perkin@oracle.com>2010-04-19 20:21:04 +0200
commit1c6e257797415c682c7ba4de3d9bdf0a81012a07 (patch)
tree61b11aaf13cf3f173240ec95d23ae4859e3beb53
parent89e111f96688715581f45ceba5bccbd3b5a23810 (diff)
downloadmariadb-git-1c6e257797415c682c7ba4de3d9bdf0a81012a07.tar.gz
Only use /usr/lib64 on x86_64, ia64 for example still uses /usr/lib
-rwxr-xr-xcmake/install_layout.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/install_layout.cmake b/cmake/install_layout.cmake
index 79eec502995..296bebd3bb0 100755
--- a/cmake/install_layout.cmake
+++ b/cmake/install_layout.cmake
@@ -113,7 +113,7 @@ SET(INSTALL_MYSQLDATADIR_STANDALONE "data")
#
SET(INSTALL_BINDIR_RPM "bin")
SET(INSTALL_INCLUDEDIR_RPM "include/mysql")
-IF(64BIT)
+IF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
SET(INSTALL_LIBDIR_RPM "lib64")
ELSE()
SET(INSTALL_LIBDIR_RPM "lib")