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:
parent
48464d620d
commit
1367630af0
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue