lcms2: move LDFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-01-07 21:30:35 +01:00
parent 7f0c9b07e9
commit 28d8286a15
+1 -1
View File
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
];
# See https://trac.macports.org/ticket/60656
LDFLAGS = if stdenv.hostPlatform.isDarwin then "-Wl,-w" else null;
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin { LDFLAGS = "-Wl,-w"; };
meta = {
description = "Color management engine";