mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Fixes for make_binary_distribution and mysql_config for OpenSuse 12.1
BUILD/SETUP.sh: By default, build also with innodb-plugin mysql-test/mysql-test-run.pl: Also search in lib64 directory for plugins (This is used at least on OpenSuse 12.1 when using default build scripts) mysql-test/r/lock_multi.result: Allow test to be re-run even if it crashed. mysql-test/t/lock_multi.test: Allow test to be re-run even if it crashed. scripts/make_binary_distribution.sh: Ensure that libexecdir is named libexec (was not on OpenSuse 12.1) scripts/mysql_config.sh: Fixed detection of lib64 was used.
This commit is contained in:
parent
2b625ac3e0
commit
d395d2514d
6 changed files with 11 additions and 4 deletions
|
@ -178,7 +178,7 @@ base_configs="--prefix=$prefix --enable-assembler "
|
|||
base_configs="$base_configs --with-extra-charsets=complex "
|
||||
base_configs="$base_configs --enable-thread-safe-client "
|
||||
base_configs="$base_configs --with-big-tables"
|
||||
base_configs="$base_configs --with-plugin-aria --with-aria-tmp-tables --without-plugin-innodb_plugin"
|
||||
base_configs="$base_configs --with-plugin-aria --with-aria-tmp-tables"
|
||||
# Compile our client programs with static libraries to allow them to be moved
|
||||
base_configs="$base_configs --with-mysqld-ldflags=-static --with-client-ldflags=-static"
|
||||
|
||||
|
|
|
@ -2518,7 +2518,8 @@ sub setup_vardir() {
|
|||
else
|
||||
{
|
||||
# hm, what paths work for debs and for rpms ?
|
||||
for (<$bindir/lib/mysql/plugin/*.so>,
|
||||
for (<$bindir/lib64/mysql/plugin/*.so>,
|
||||
<$bindir/lib/mysql/plugin/*.so>,
|
||||
<$bindir/lib/plugin/*.dll>)
|
||||
{
|
||||
my $pname=basename($_);
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
drop table if exists t1,t2;
|
||||
drop DATABASE if exists mysqltest_1;
|
||||
create table t1(n int);
|
||||
insert into t1 values (1);
|
||||
lock tables t1 write;
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
--disable_warnings
|
||||
drop table if exists t1,t2;
|
||||
drop DATABASE if exists mysqltest_1;
|
||||
--enable_warnings
|
||||
|
||||
# Test to see if select will get the lock ahead of low priority update
|
||||
|
|
|
@ -285,7 +285,8 @@ if [ x"$BASE_SYSTEM" != x"netware" ] ; then
|
|||
pkgplugindir=@pkgplugindir@ \
|
||||
pkgsuppdir=@pkgsuppdir@ \
|
||||
mandir=@mandir@ \
|
||||
infodir=@infodir@
|
||||
infodir=@infodir@ \
|
||||
libexecdir=@prefix@/libexec
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Rename top directory, and set DEST to the new directory
|
||||
|
@ -301,7 +302,10 @@ if [ x"$BASE_SYSTEM" != x"netware" ] ; then
|
|||
if [ -z "$gcclib" ] ; then
|
||||
echo "Warning: Compiler doesn't tell libgcc.a!"
|
||||
elif [ -f "$gcclib" ] ; then
|
||||
{
|
||||
mkdir -p $DEST/lib
|
||||
$CP $gcclib $DEST/lib/libmygcc.a
|
||||
}
|
||||
else
|
||||
echo "Warning: Compiler result '$gcclib' not found / no file!"
|
||||
fi
|
||||
|
|
|
@ -86,7 +86,7 @@ bindir='@bindir@'
|
|||
# If installed, search for the compiled in directory first (might be "lib64")
|
||||
pkglibdir='@pkglibdir@'
|
||||
pkglibdir_rel=`echo $pkglibdir | sed -e "s;^$basedir/;;"`
|
||||
fix_path pkglibdir $pkglibdir_rel lib/mysql lib
|
||||
fix_path pkglibdir $pkglibdir_rel lib64/mysql lib64 lib/mysql lib
|
||||
|
||||
plugindir='@pkgplugindir@'
|
||||
|
||||
|
|
Loading…
Reference in a new issue