Merge pull request #7157 from codyopel/rtmpdump-clang
rtmpdump: fix clang support
This commit is contained in:
commit
14ea4e7e78
1 changed files with 2 additions and 1 deletions
|
@ -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