Correct search path for plugins, in out-of-source build

This commit is contained in:
Vladislav Vaintroub 2011-12-28 23:20:39 +01:00
parent aa5623ce33
commit e45a6a1702

View file

@ -2726,9 +2726,9 @@ sub setup_vardir() {
<../plugin/*/.libs/*.so>,
<../plugin/*/*/.libs/*.so>,
<../sql/.libs/*.so>,
<../storage/*/*.so>,
<../plugin/*/*.so>,
<../sql/*.so>)
<$bindir/storage/*/*.so>,
<$bindir/plugin/*/*.so>,
<$bindir/sql/*.so>)
{
my $pname=basename($_);
symlink rel2abs($_), "$plugindir/$pname";