mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03: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 New Issue
Block a user