diff options
author | Spencer Whitt <sw@swhitt.me> | 2015-03-05 15:47:40 -0500 |
---|---|---|
committer | Spencer Whitt <sw@swhitt.me> | 2015-03-25 23:12:14 -0400 |
commit | 54bf845153ccb226da13302d860f068cdf9f057c (patch) | |
tree | d6b8d107e2d9151bb8d354984c6c5da4a93c0d4f /pkgs/development/libraries | |
parent | f5eed7e14e45f639514d432b680325cae6d40b06 (diff) | |
download | nixlib-54bf845153ccb226da13302d860f068cdf9f057c.tar nixlib-54bf845153ccb226da13302d860f068cdf9f057c.tar.gz nixlib-54bf845153ccb226da13302d860f068cdf9f057c.tar.bz2 nixlib-54bf845153ccb226da13302d860f068cdf9f057c.tar.lz nixlib-54bf845153ccb226da13302d860f068cdf9f057c.tar.xz nixlib-54bf845153ccb226da13302d860f068cdf9f057c.tar.zst nixlib-54bf845153ccb226da13302d860f068cdf9f057c.zip |
libmpeg2: Fix Darwin build
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/libmpeg2/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libmpeg2/default.nix b/pkgs/development/libraries/libmpeg2/default.nix index 7ecac071ce40..19d912e5523c 100644 --- a/pkgs/development/libraries/libmpeg2/default.nix +++ b/pkgs/development/libraries/libmpeg2/default.nix @@ -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"; |