cairo: clear all occurrences of `-ldl' on FreeBSD
This commit is contained in:
parent
fa7f30bf5e
commit
223b285776
1 changed files with 5 additions and 2 deletions
|
@ -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 a new issue