3
0
Fork 0
forked from mirrors/nixpkgs

mariadb: Reference correct outputs of zlib and openssl

This commit is contained in:
Tuomas Tynkkynen 2015-10-15 02:08:31 +03:00 committed by Vladimír Čunát
parent e5e2e6aba2
commit 934a6ddef6

View file

@ -96,8 +96,8 @@ stdenv.mkDerivation rec {
# Fix the mysql_config
sed -i $out/bin/mysql_config \
-e 's,-lz,-L${zlib}/lib -lz,g' \
-e 's,-lssl,-L${openssl}/lib -lssl,g'
-e 's,-lz,-L${zlib.out}/lib -lz,g' \
-e 's,-lssl,-L${openssl.out}/lib -lssl,g'
# Add mysql_config to libs since configure scripts use it
mkdir -p $lib/bin