libmpeg2: Fix Darwin build

This commit is contained in:
Spencer Whitt 2015-03-05 15:47:40 -05:00
parent f5eed7e14e
commit 54bf845153

View File

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