mariadb: install staging libs to lib/mysql as well
authorSebastian Kemper <sebastian_ml@gmx.net>
Sun, 6 May 2018 12:06:18 +0000 (14:06 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sun, 6 May 2018 12:53:18 +0000 (14:53 +0200)
commit1af459bd52c4e1e9682e8c6d6c1cfdb7549de3d6
tree72c19fdd107cf58b9ebf6fb1db2d183f25255355
parent82ac73701e1778fbeee19c1da5540321fce834a4
mariadb: install staging libs to lib/mysql as well

Historically programs added /usr/lib/mysql to the library search path when
linking. mariadb does not do so anymore, although even its mysql_config
script suggests to use this path. When an old version of the library still
resides in this directory (like from an old mysql installation) it will be
linked against instead of the current library which is in /usr/lib.

To prevent this simply install symlinks from the staging libs in /usr/lib
into /usr/lib/mysql. This fixes build failures on the build bots which are
seen with libzdb and libdbi-drivers.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
utils/mariadb/Makefile