mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
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";
|
sha256 = "1m3i322n2fwgrvbs1yck7g5md1dbg22bhq5xdqmjpz5m7j4jxqny";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Otherwise clang fails with 'duplicate symbol ___sputc'
|
||||||
|
buildFlags = stdenv.lib.optionalString stdenv.isDarwin "CFLAGS=-std=gnu89";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://libmpeg2.sourceforge.net/;
|
homepage = http://libmpeg2.sourceforge.net/;
|
||||||
description = "A free library for decoding mpeg-2 and mpeg-1 video streams";
|
description = "A free library for decoding mpeg-2 and mpeg-1 video streams";
|
||||||
|
Loading…
Reference in New Issue
Block a user