mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
rtmpdump: fix clang support
This commit is contained in:
parent
a6f5518a8c
commit
1d8c7aa9ed
|
@ -23,7 +23,8 @@ stdenv.mkDerivation rec {
|
|||
makeFlags = [ ''prefix=$(out)'' ]
|
||||
++ optional gnutlsSupport "CRYPTO=GNUTLS"
|
||||
++ optional opensslSupport "CRYPTO=OPENSSL"
|
||||
++ optional stdenv.isDarwin "CC=clang SYS=darwin";
|
||||
++ optional stdenv.isDarwin "SYS=darwin"
|
||||
++ optional (stdenv.cc.cc.isClang or false) "CC=clang";
|
||||
|
||||
buildInputs = [ zlib ]
|
||||
++ optional gnutlsSupport gnutls
|
||||
|
|
Loading…
Reference in a new issue