Merge pull request #7157 from codyopel/rtmpdump-clang
rtmpdump: fix clang support
This commit is contained in:
commit
14ea4e7e78
@ -23,7 +23,8 @@ stdenv.mkDerivation rec {
|
|||||||
makeFlags = [ ''prefix=$(out)'' ]
|
makeFlags = [ ''prefix=$(out)'' ]
|
||||||
++ optional gnutlsSupport "CRYPTO=GNUTLS"
|
++ optional gnutlsSupport "CRYPTO=GNUTLS"
|
||||||
++ optional opensslSupport "CRYPTO=OPENSSL"
|
++ 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 ]
|
buildInputs = [ zlib ]
|
||||||
++ optional gnutlsSupport gnutls
|
++ optional gnutlsSupport gnutls
|
||||||
|
Loading…
x
Reference in New Issue
Block a user