From 912708c35bd1323b2f39267770446178ccb8d15b Mon Sep 17 00:00:00 2001
From: Jonathan Perkin <jonathan.perkin@oracle.com>
Date: Tue, 23 Mar 2010 13:56:28 +0100
Subject: [PATCH] Install libs directly into %{_libdir}

---
 cmake/install_layout.cmake | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmake/install_layout.cmake b/cmake/install_layout.cmake
index 680fa5ff86..67d90309b1 100755
--- a/cmake/install_layout.cmake
+++ b/cmake/install_layout.cmake
@@ -104,11 +104,11 @@ SET(INSTALL_MYSQLDATADIR_STANDALONE "data")
 SET(INSTALL_BINDIR_RPM "bin")
 SET(INSTALL_SBINDIR_RPM "sbin")
 IF(64BIT)
-  SET(INSTALL_LIBDIR_RPM "lib64/mysql")
+  SET(INSTALL_LIBDIR_RPM "lib64")
 ELSE()
-  SET(INSTALL_LIBDIR_RPM "lib/mysql")
+  SET(INSTALL_LIBDIR_RPM "lib")
 ENDIF()
-SET(INSTALL_PLUGINDIR_RPM "${INSTALL_LIBDIR_RPM}/plugin")
+SET(INSTALL_PLUGINDIR_RPM "${INSTALL_LIBDIR_RPM}/mysql/plugin")
 SET(INSTALL_DOCDIR_RPM "share/mysql/doc/MySQL-server-${MYSQL_NO_DASH_VERSION}")
 SET(INSTALL_MANDIR_RPM "share/man")
 SET(INSTALL_INCLUDEDIR_RPM "include/mysql")
-- 
2.30.9