diff options
author | Timothy Smith <timothy.smith@sun.com> | 2009-10-16 20:19:36 +0200 |
---|---|---|
committer | Timothy Smith <timothy.smith@sun.com> | 2009-10-16 20:19:36 +0200 |
commit | df129b749d609b75077ab7d60d65d40ff77b8299 (patch) | |
tree | 5de4e33e36e25c64767e583a21d1eaa8709fdfd3 /support-files | |
parent | eddd727a3a3de0e27e921551263e18c0b558a8ca (diff) | |
parent | d87592ec526d56162de94ceeff6a698d6646fdb8 (diff) | |
download | mariadb-git-df129b749d609b75077ab7d60d65d40ff77b8299.tar.gz |
Merge from mysql-5.4.3-beta-release
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/mysql.spec.sh | 11 |
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 |