rdesktop: fix darwin build (#123498)

This commit is contained in:
Stéphan Kochen 2021-05-18 16:33:26 +02:00 committed by GitHub
parent aaaab99d8c
commit 4bb1c4677d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{lib, stdenv, fetchFromGitHub, openssl, libX11, krb5, libXcursor, libtasn1, nettle, gnutls, pkg-config, autoreconfHook
{ lib, stdenv, fetchFromGitHub, openssl, libX11, krb5, libXcursor, libtasn1
, nettle, gnutls, pkg-config, autoreconfHook, libiconv
, enableCredssp ? (!stdenv.isDarwin)
} :
@ -15,7 +16,8 @@ stdenv.mkDerivation (rec {
nativeBuildInputs = [pkg-config autoreconfHook];
buildInputs = [openssl libX11 libXcursor libtasn1 nettle gnutls]
++ lib.optional enableCredssp krb5;
++ lib.optional enableCredssp krb5
++ lib.optional stdenv.isDarwin libiconv;
configureFlags = [
"--with-ipv6"