pythonPackages.pillow: add lcms2 support
This commit is contained in:
parent
e0da6b16f6
commit
30da3de95d
@ -17786,9 +17786,11 @@ in modules // {
|
|||||||
-e 's|^FREETYPE_ROOT =.*$|FREETYPE_ROOT = ${libinclude pkgs.freetype}|g ;
|
-e 's|^FREETYPE_ROOT =.*$|FREETYPE_ROOT = ${libinclude pkgs.freetype}|g ;
|
||||||
s|^JPEG_ROOT =.*$|JPEG_ROOT = ${libinclude pkgs.libjpeg}|g ;
|
s|^JPEG_ROOT =.*$|JPEG_ROOT = ${libinclude pkgs.libjpeg}|g ;
|
||||||
s|^ZLIB_ROOT =.*$|ZLIB_ROOT = ${libinclude pkgs.zlib}|g ;
|
s|^ZLIB_ROOT =.*$|ZLIB_ROOT = ${libinclude pkgs.zlib}|g ;
|
||||||
s|^LCMS_ROOT =.*$|LCMS_ROOT = ${libinclude' pkgs.libwebp}|g ;
|
s|^LCMS_ROOT =.*$|LCMS_ROOT = ${libinclude pkgs.lcms2}|g ;
|
||||||
s|^TIFF_ROOT =.*$|TIFF_ROOT = ${libinclude pkgs.libtiff}|g ;
|
s|^TIFF_ROOT =.*$|TIFF_ROOT = ${libinclude pkgs.libtiff}|g ;
|
||||||
s|^TCL_ROOT=.*$|TCL_ROOT = ${libinclude' pkgs.tcl}|g ;'
|
s|^TCL_ROOT=.*$|TCL_ROOT = ${libinclude' pkgs.tcl}|g ;'
|
||||||
|
export LDFLAGS="-L${pkgs.libwebp}/lib"
|
||||||
|
export CFLAGS="-I${pkgs.libwebp}/include"
|
||||||
''
|
''
|
||||||
# Remove impurities
|
# Remove impurities
|
||||||
+ stdenv.lib.optionalString stdenv.isDarwin ''
|
+ stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
Loading…
Reference in New Issue
Block a user