summaryrefslogtreecommitdiff
path: root/scripts/make_binary_distribution.sh
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2012-02-23 16:51:58 +0200
committerMichael Widenius <monty@askmonty.org>2012-02-23 16:51:58 +0200
commitd395d2514d872bc40374e900979825f81f992890 (patch)
tree604317d3fde66b503527f0af0f71f559c9767927 /scripts/make_binary_distribution.sh
parent2b625ac3e0b2173df18c69df63af00dd03e8c672 (diff)
downloadmariadb-git-d395d2514d872bc40374e900979825f81f992890.tar.gz
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.
Diffstat (limited to 'scripts/make_binary_distribution.sh')
-rw-r--r--scripts/make_binary_distribution.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/make_binary_distribution.sh b/scripts/make_binary_distribution.sh
index 789f3e3ce2e..070b396a34c 100644
--- a/scripts/make_binary_distribution.sh
+++ b/scripts/make_binary_distribution.sh
@@ -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