Commit 910e8421 authored by Jonathan Perkin's avatar Jonathan Perkin

Try a bunch of fixes.

parent ccdfb25c
...@@ -133,7 +133,7 @@ ENDIF() ...@@ -133,7 +133,7 @@ ENDIF()
IF(UNIX) IF(UNIX)
INSTALL_DEBUG_TARGET(mysqlserver DESTINATION ${INSTALL_LIBDIR} RENAME INSTALL_DEBUG_TARGET(mysqlserver DESTINATION ${INSTALL_LIBDIR} RENAME
${CMAKE_STATIC_LIBRARY_PREFIX}/mysqld-debug) ${CMAKE_STATIC_LIBRARY_PREFIX}mysqld-debug)
ENDIF() ENDIF()
IF(MSVC AND NOT DISABLE_SHARED) IF(MSVC AND NOT DISABLE_SHARED)
......
...@@ -298,14 +298,13 @@ ELSE() ...@@ -298,14 +298,13 @@ ELSE()
mysql_secure_installation mysql_secure_installation
mysql_zap mysql_zap
mysqlaccess mysqlaccess
mysqlaccess.conf
mysqlbug mysqlbug
mysql_convert_table_format mysql_convert_table_format
mysql_find_rows mysql_find_rows
mysqlhotcopy mysqlhotcopy
mysqldumpslow mysqldumpslow
mysqld_multi mysqld_multi
mysqlaccess
mysqlaccess.conf
mysqld_safe mysqld_safe
) )
FOREACH(file ${BIN_SCRIPTS}) FOREACH(file ${BIN_SCRIPTS})
......
...@@ -401,21 +401,21 @@ mkdir -p $RBR%{_libdir}/mysql ...@@ -401,21 +401,21 @@ mkdir -p $RBR%{_libdir}/mysql
# check for "icc". (If we don't check, the "--print-libgcc-file" call will fail.) # check for "icc". (If we don't check, the "--print-libgcc-file" call will fail.)
if expr "$CC" : ".*icc.*" > /dev/null ; if expr "$CC" : ".*icc.*" > /dev/null ;
then then
%define WITH_LIBGCC 0 %global WITH_LIBGCC 0
: :
elif expr "$CC" : ".*gcc.*" > /dev/null ; elif expr "$CC" : ".*gcc.*" > /dev/null ;
then then
libgcc=`$CC $CFLAGS --print-libgcc-file` libgcc=`$CC $CFLAGS --print-libgcc-file`
if [ -f $libgcc ] if [ -f $libgcc ]
then then
%define WITH_LIBGCC 1 %global WITH_LIBGCC 1
install -m 644 $libgcc $RBR%{_libdir}/mysql/libmygcc.a install -m 644 $libgcc $RBR%{_libdir}/mysql/libmygcc.a
else else
%define WITH_LIBGCC 0 %global WITH_LIBGCC 0
: :
fi fi
else else
%define WITH_LIBGCC 0 %global WITH_LIBGCC 0
: :
fi fi
...@@ -728,6 +728,7 @@ fi ...@@ -728,6 +728,7 @@ fi
%attr(755, root, root) %{_sbindir}/mysqld %attr(755, root, root) %{_sbindir}/mysqld
%attr(755, root, root) %{_sbindir}/mysqld-debug %attr(755, root, root) %{_sbindir}/mysqld-debug
%attr(755, root, root) %{_sbindir}/rcmysql %attr(755, root, root) %{_sbindir}/rcmysql
%attr(755, root, root) %{_libdir}/mysql/plugin/mypluglib.so
%attr(755, root, root) %{_libdir}/mysql/plugin/semisync_master.so* %attr(755, root, root) %{_libdir}/mysql/plugin/semisync_master.so*
%attr(755, root, root) %{_libdir}/mysql/plugin/semisync_slave.so* %attr(755, root, root) %{_libdir}/mysql/plugin/semisync_slave.so*
...@@ -747,6 +748,8 @@ fi ...@@ -747,6 +748,8 @@ fi
%attr(755, root, root) %{_bindir}/mysql_find_rows %attr(755, root, root) %{_bindir}/mysql_find_rows
%attr(755, root, root) %{_bindir}/mysql_waitpid %attr(755, root, root) %{_bindir}/mysql_waitpid
%attr(755, root, root) %{_bindir}/mysqlaccess %attr(755, root, root) %{_bindir}/mysqlaccess
# XXX: Silly place to put this script
%attr(644, root, root) %{_bindir}/mysqlaccess.conf
%attr(755, root, root) %{_bindir}/mysqladmin %attr(755, root, root) %{_bindir}/mysqladmin
%attr(755, root, root) %{_bindir}/mysqlbinlog %attr(755, root, root) %{_bindir}/mysqlbinlog
%attr(755, root, root) %{_bindir}/mysqlcheck %attr(755, root, root) %{_bindir}/mysqlcheck
...@@ -842,6 +845,7 @@ fi ...@@ -842,6 +845,7 @@ fi
%endif %endif
%{_libdir}/mysql/libmysqlclient.a %{_libdir}/mysql/libmysqlclient.a
%{_libdir}/mysql/libmysqlclient_r.a %{_libdir}/mysql/libmysqlclient_r.a
%{_libdir}/mysql/libmysqlservices.a
%if %{CLUSTER_BUILD} %if %{CLUSTER_BUILD}
%{_libdir}/mysql/libndbclient.a %{_libdir}/mysql/libndbclient.a
%{_libdir}/mysql/libndbclient.la %{_libdir}/mysql/libndbclient.la
...@@ -872,7 +876,9 @@ fi ...@@ -872,7 +876,9 @@ fi
%if %{EMBEDDED_BUILD} %if %{EMBEDDED_BUILD}
%files embedded %files embedded
%defattr(-, root, root, 0755) %defattr(-, root, root, 0755)
%attr(755, root, root) %{_bindir}/mysql_embedded
%attr(644, root, root) %{_libdir}/mysql/libmysqld.a %attr(644, root, root) %{_libdir}/mysql/libmysqld.a
%attr(644, root, root) %{_libdir}/mysql/libmysqld-debug.a
%endif %endif
############################################################################## ##############################################################################
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment