mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
cairo: clear all occurrences of `-ldl' on FreeBSD
This commit is contained in:
parent
fa7f30bf5e
commit
223b285776
@ -47,8 +47,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# On FreeBSD, `-ldl' doesn't exist.
|
||||
+ (stdenv.lib.optionalString stdenv.isFreeBSD
|
||||
'' cat util/cairo-fdr/Makefile.in | sed -es/-ldl//g > t
|
||||
mv t util/cairo-fdr/Makefile.in
|
||||
'' for i in "util/"*"/Makefile.in" boilerplate/Makefile.in
|
||||
do
|
||||
cat "$i" | sed -es/-ldl//g > t
|
||||
mv t "$i"
|
||||
done
|
||||
'');
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user