Merge pull request #7157 from codyopel/rtmpdump-clang

rtmpdump: fix clang support
This commit is contained in:
Arseniy Seroka 2015-04-03 21:50:34 +03:00
commit 14ea4e7e78

View file

@ -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