Commit f0e14f71 authored by Jonathan Perkin's avatar Jonathan Perkin

Install innodb_plugin on Windows.

parent a1629548
...@@ -279,6 +279,7 @@ cp include/mysql/plugin.h $DESTDIR/include/mysql/ ...@@ -279,6 +279,7 @@ cp include/mysql/plugin.h $DESTDIR/include/mysql/
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
mkdir -p $DESTDIR/lib/opt mkdir -p $DESTDIR/lib/opt
mkdir -p $DESTDIR/lib/plugin
cp libmysql/$TARGET/libmysql.dll \ cp libmysql/$TARGET/libmysql.dll \
libmysql/$TARGET/libmysql.lib \ libmysql/$TARGET/libmysql.lib \
libmysql/$TARGET/mysqlclient.lib \ libmysql/$TARGET/mysqlclient.lib \
...@@ -286,6 +287,8 @@ cp libmysql/$TARGET/libmysql.dll \ ...@@ -286,6 +287,8 @@ cp libmysql/$TARGET/libmysql.dll \
regex/$TARGET/regex.lib \ regex/$TARGET/regex.lib \
strings/$TARGET/strings.lib \ strings/$TARGET/strings.lib \
zlib/$TARGET/zlib.lib $DESTDIR/lib/opt/ zlib/$TARGET/zlib.lib $DESTDIR/lib/opt/
cp storage/innodb_plugin/$TARGET/ha_innodb_plugin.dll \
$DESTDIR/lib/plugin/
if [ x"$TARGET" != x"release" ] ; then if [ x"$TARGET" != x"release" ] ; then
cp libmysql/$TARGET/libmysql.pdb \ cp libmysql/$TARGET/libmysql.pdb \
...@@ -294,11 +297,15 @@ if [ x"$TARGET" != x"release" ] ; then ...@@ -294,11 +297,15 @@ if [ x"$TARGET" != x"release" ] ; then
regex/$TARGET/regex.pdb \ regex/$TARGET/regex.pdb \
strings/$TARGET/strings.pdb \ strings/$TARGET/strings.pdb \
zlib/$TARGET/zlib.pdb $DESTDIR/lib/opt/ zlib/$TARGET/zlib.pdb $DESTDIR/lib/opt/
cp storage/innodb_plugin/$TARGET/ha_innodb_plugin.pdb \
$DESTDIR/lib/plugin/
fi fi
if [ x"$PACK_DEBUG" = x"" -a -f "libmysql/debug/libmysql.lib" -o \ if [ x"$PACK_DEBUG" = x"" -a -f "libmysql/debug/libmysql.lib" -o \
x"$PACK_DEBUG" = x"yes" ] ; then x"$PACK_DEBUG" = x"yes" ] ; then
mkdir -p $DESTDIR/lib/debug mkdir -p $DESTDIR/lib/debug
mkdir -p $DESTDIR/lib/plugin/debug
cp libmysql/debug/libmysql.dll \ cp libmysql/debug/libmysql.dll \
libmysql/debug/libmysql.lib \ libmysql/debug/libmysql.lib \
libmysql/debug/libmysql.pdb \ libmysql/debug/libmysql.pdb \
...@@ -312,6 +319,10 @@ if [ x"$PACK_DEBUG" = x"" -a -f "libmysql/debug/libmysql.lib" -o \ ...@@ -312,6 +319,10 @@ if [ x"$PACK_DEBUG" = x"" -a -f "libmysql/debug/libmysql.lib" -o \
strings/debug/strings.pdb \ strings/debug/strings.pdb \
zlib/debug/zlib.lib \ zlib/debug/zlib.lib \
zlib/debug/zlib.pdb $DESTDIR/lib/debug/ zlib/debug/zlib.pdb $DESTDIR/lib/debug/
cp storage/innodb_plugin/debug/ha_innodb_plugin.dll \
storage/innodb_plugin/debug/ha_innodb_plugin.lib \
storage/innodb_plugin/debug/ha_innodb_plugin.pdb \
$DESTDIR/lib/plugin/debug/
fi fi
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
......
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