Commit c1f18380 authored by Adam Joseph's avatar Adam Joseph
Browse files

freerdp: disable man pages if cross compiling

The manpage generator attempts to execute `hostPlatform` binaries.
parent c0bbacf1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -50,6 +50,9 @@
, CoreMedia
, withUnfree ? false

# tries to compile and run generate_argument_docbook.c
, withManPages ? stdenv.buildPlatform.canExecute stdenv.hostPlatform

, buildPackages
}:

@@ -175,6 +178,7 @@ stdenv.mkDerivation rec {
    WITH_JPEG = (libjpeg_turbo != null);
    WITH_OPENH264 = (openh264 != null);
    WITH_OSS = false;
    WITH_MANPAGES = withManPages;
    WITH_PCSC = (pcsclite != null);
    WITH_PULSE = (libpulseaudio != null);
    WITH_SERVER = buildServer;