summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorTimothy Smith <timothy.smith@sun.com>2009-10-16 20:19:36 +0200
committerTimothy Smith <timothy.smith@sun.com>2009-10-16 20:19:36 +0200
commitdf129b749d609b75077ab7d60d65d40ff77b8299 (patch)
tree5de4e33e36e25c64767e583a21d1eaa8709fdfd3 /support-files
parenteddd727a3a3de0e27e921551263e18c0b558a8ca (diff)
parentd87592ec526d56162de94ceeff6a698d6646fdb8 (diff)
downloadmariadb-git-df129b749d609b75077ab7d60d65d40ff77b8299.tar.gz
Merge from mysql-5.4.3-beta-release
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql.spec.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index 60bf9213362..3c80304330b 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -448,6 +448,13 @@ $MBD/libtool --mode=execute install -m 755 \
$RPM_BUILD_DIR/mysql-%{mysql_version}/mysql-debug-%{mysql_version}/sql/mysqld \
$RBR%{_sbindir}/mysqld-debug
+%if %{?malloc_lib_target:1}%{!?malloc_lib_target:0}
+# Even though this is a shared library, put it under /usr/lib/mysql, so it
+# doesn't conflict with possible shared lib by the same name in /usr/lib. See
+# `mysql_config --variable=pkglibdir` and mysqld_safe for how this is used.
+install -m 644 "%{malloc_lib_source}" "$RBR%{_libdir}/mysql/%{malloc_lib_target}"
+%endif
+
# install saved perror binary with NDB support (BUG#13740)
install -m 755 $MBD/extra/perror $RBR%{_bindir}/perror
@@ -707,6 +714,10 @@ fi
%attr(755, root, root) %{_libdir}/mysql/plugin/ha_innodb_plugin.so*
%endif
+%if %{?malloc_lib_target:1}%{!?malloc_lib_target:0}
+%attr(755, root, root) %{_libdir}/mysql/%{malloc_lib_target}
+%endif
+
%attr(755, root, root) %{_sbindir}/mysqld
%attr(755, root, root) %{_sbindir}/mysqld-debug
%attr(755, root, root) %{_sbindir}/rcmysql