Commit 8b58a2b2 authored by Adkins, Cameron's avatar Adkins, Cameron
Browse files

libtiff: disable lerc if cross-compiling

   - lerc DLLs are not correctly linked into the result directory, so
     disable support for this on Windows targets.
parent 04bb0b3a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -73,8 +73,9 @@ stdenv.mkDerivation (finalAttrs: {
  nativeBuildInputs = [ autoreconfHook pkg-config sphinx ];

  buildInputs = [
    lerc
    zstd
  ] lib.optionals (!stdenv.targetPlatform.isWindows) [
    lerc
  ];

  # TODO: opengl support (bogus configure detection)