lcms2: fix build on darwin

This commit is contained in:
Ryan Burns 2020-10-18 17:24:57 -07:00
parent 3081122b00
commit cb057db0a3
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ libtiff libjpeg zlib ]; propagatedBuildInputs = [ libtiff libjpeg zlib ];
# See https://trac.macports.org/ticket/60656
LDFLAGS = if stdenv.hostPlatform.isDarwin then "-Wl,-w" else null;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Color management engine"; description = "Color management engine";
homepage = "http://www.littlecms.com/"; homepage = "http://www.littlecms.com/";