Merge pull request #18292 from offlinehacker/pkgs/pythonPackages/pillow/lcms2_support
pythonPackages.pillow: add lcms2 support
This commit is contained in:
commit
07e76b0738
@ -17774,9 +17774,11 @@ in modules // {
|
||||
-e 's|^FREETYPE_ROOT =.*$|FREETYPE_ROOT = ${libinclude pkgs.freetype}|g ;
|
||||
s|^JPEG_ROOT =.*$|JPEG_ROOT = ${libinclude pkgs.libjpeg}|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|^TCL_ROOT=.*$|TCL_ROOT = ${libinclude' pkgs.tcl}|g ;'
|
||||
export LDFLAGS="-L${pkgs.libwebp}/lib"
|
||||
export CFLAGS="-I${pkgs.libwebp}/include"
|
||||
''
|
||||
# Remove impurities
|
||||
+ stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
|
Loading…
Reference in New Issue
Block a user