treewide: Make explicit that 'dev' output of freetype is used

This commit is contained in:
Tuomas Tynkkynen 2016-08-23 03:31:24 +03:00
parent 2eb09319eb
commit 463b0a181e

View File

@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
dontStrip = true;
configurePhase = ''
sed -i -e 's+-I \$srcdir/mupdf/include -I \$srcdir/mupdf/thirdparty/freetype/include+-I ${freetype}/include+' build.sh
sed -i -e 's+-I \$srcdir/mupdf/include -I \$srcdir/mupdf/thirdparty/freetype/include+-I ${freetype.dev}/include+' build.sh
sed -i -e 's+-lmupdf +-lfreetype -lz -lharfbuzz -ljbig2dec -lopenjp2 -ljpeg -lmupdf +' build.sh
sed -i -e 's+-L\$srcdir/mupdf/build/native ++' build.sh
'';