3
0
Fork 0
forked from mirrors/nixpkgs

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

View file

@ -58,7 +58,8 @@ self = stdenv.mkDerivation rec {
sed -i -e "s|basedir=\"\"|basedir=\"$out\"|" $out/bin/mysql_install_db
install -vD $out/lib/*.a -t $static/lib
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 = {