Merge pull request #7155 from spwhitt/rtmpdump

rtmpdump: build on Darwin
This commit is contained in:
Eric Seidel 2015-04-03 10:43:00 -07:00
commit a6f5518a8c
1 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,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";
buildInputs = [ zlib ] buildInputs = [ zlib ]
++ optional gnutlsSupport gnutls ++ optional gnutlsSupport gnutls
@ -32,7 +33,7 @@ stdenv.mkDerivation rec {
description = "Toolkit for RTMP streams"; description = "Toolkit for RTMP streams";
homepage = http://rtmpdump.mplayerhq.hu/; homepage = http://rtmpdump.mplayerhq.hu/;
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.linux; platforms = platforms.unix;
maintainers = with maintainers; [ codyopel viric ]; maintainers = with maintainers; [ codyopel viric ];
}; };
} }