From ba3a164ba22a3c7e4f8691dc3fca9c181fb000d5 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 16 Sep 2010 11:48:43 +0200 Subject: [PATCH] make_win_bin_dist: include all dynamic plugins, not only innodb_plugin --- scripts/make_win_bin_dist | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/scripts/make_win_bin_dist b/scripts/make_win_bin_dist index 20850245f99..21bd1a7b025 100755 --- a/scripts/make_win_bin_dist +++ b/scripts/make_win_bin_dist @@ -305,10 +305,7 @@ cp libmysql/$TARGET/libmysql.dll \ regex/$TARGET/regex.lib \ strings/$TARGET/strings.lib \ zlib/$TARGET/zlib.lib $DESTDIR/lib/opt/ -if [ -d storage/innodb_plugin ]; then - cp storage/innodb_plugin/$TARGET/ha_innodb_plugin.dll \ - $DESTDIR/lib/plugin/ -fi +cp storage/*/$TARGET/ha_*.dll $DESTDIR/lib/plugin/ if [ x"$TARGET" != x"release" ] ; then cp libmysql/$TARGET/libmysql.pdb \ @@ -317,10 +314,7 @@ if [ x"$TARGET" != x"release" ] ; then regex/$TARGET/regex.pdb \ strings/$TARGET/strings.pdb \ zlib/$TARGET/zlib.pdb $DESTDIR/lib/opt/ - if [ -d storage/innodb_plugin ]; then - cp storage/innodb_plugin/$TARGET/ha_innodb_plugin.pdb \ - $DESTDIR/lib/plugin/ - fi + cp storage/*/$TARGET/ha_*.pdb $DESTDIR/lib/plugin/ fi @@ -341,12 +335,10 @@ if [ x"$PACK_DEBUG" = x"" -a -f "libmysql/debug/libmysql.lib" -o \ strings/debug/strings.pdb \ zlib/debug/zlib.lib \ zlib/debug/zlib.pdb $DESTDIR/lib/debug/ - if [ -d storage/innodb_plugin ]; then - 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 + cp storage/*/debug/ha_*.dll \ + storage/*/debug/ha_*.lib \ + storage/*/debug/ha_*.pdb \ + $DESTDIR/lib/plugin/debug/ fi # ----------------------------------------------------------------------