forked from mirrors/nixpkgs
Merge pull request #6990 from spwhitt/libmpeg2
libmpeg2: Fix Darwin build
This commit is contained in:
commit
938403bc09
|
@ -9,6 +9,9 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1m3i322n2fwgrvbs1yck7g5md1dbg22bhq5xdqmjpz5m7j4jxqny";
|
||||
};
|
||||
|
||||
# Otherwise clang fails with 'duplicate symbol ___sputc'
|
||||
buildFlags = stdenv.lib.optionalString stdenv.isDarwin "CFLAGS=-std=gnu89";
|
||||
|
||||
meta = {
|
||||
homepage = http://libmpeg2.sourceforge.net/;
|
||||
description = "A free library for decoding mpeg-2 and mpeg-1 video streams";
|
||||
|
|
Loading…
Reference in a new issue