cairo: clear all occurrences of `-ldl' on FreeBSD

This commit is contained in:
Ludovic Courtès 2012-10-18 12:13:07 +02:00
parent fa7f30bf5e
commit 223b285776

View File

@ -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;