mysql57: backward compat

At least PHP expects a libmysqlclient_r which was the thread-safe
variant of libmysqlclient, but has been dropped since this is
guaranteed for libmysqlclient now.
This commit is contained in:
Robin Gloster 2017-12-28 17:50:41 +01:00
parent 48464d620d
commit 1367630af0
1 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,8 @@ self = stdenv.mkDerivation rec {
sed -i -e "s|basedir=\"\"|basedir=\"$out\"|" $out/bin/mysql_install_db sed -i -e "s|basedir=\"\"|basedir=\"$out\"|" $out/bin/mysql_install_db
install -vD $out/lib/*.a -t $static/lib install -vD $out/lib/*.a -t $static/lib
rm -r $out/mysql-test rm -r $out/mysql-test
rm $out/share/man/man1/mysql-test-run.pl.1 rm $out/share/man/man1/mysql-test-run.pl.1 $out/lib/*.a
ln -s libmysqlclient.so $out/lib/libmysqlclient_r.so
''; '';
passthru = { passthru = {