Commit 6a5aab56 authored by Rick van Schijndel's avatar Rick van Schijndel
Browse files

libmtp: improve cross-compilation support

It still doesn't build, but it gets further now.
Also added configurePlatforms explicitly, not strictly needed for cross,
but might help catch issues with cross earlier in some cases.
parent 83be3a65
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -35,10 +35,12 @@ stdenv.mkDerivation rec {

  propagatedBuildInputs = [ libusb1 ];

  preConfigure = "./autogen.sh";
  preConfigure = "NOCONFIGURE=1 ./autogen.sh";

  configureFlags = [ "--with-udev=${placeholder "out"}/lib/udev" ];

  configurePlatforms = [ "build" "host" ];

  enableParallelBuilding = true;

  meta = with lib; {