lcms2: fix build on darwin

This commit is contained in:
Ryan Burns 2020-10-18 17:24:57 -07:00
parent 3081122b00
commit cb057db0a3

View file

@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
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; {
description = "Color management engine";
homepage = "http://www.littlecms.com/";