mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
mariadb: Propagate library paths in mysql_config
This commit is contained in:
parent
171275c7f9
commit
0405651521
@ -90,6 +90,11 @@ stdenv.mkDerivation rec {
|
||||
mv $out/lib $lib
|
||||
mv $out/include $lib
|
||||
|
||||
# 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'
|
||||
|
||||
# Add mysql_config to libs since configure scripts use it
|
||||
mkdir -p $lib/bin
|
||||
cp $out/bin/mysql_config $lib/bin
|
||||
|
Loading…
Reference in New Issue
Block a user