libmpeg2: *Flags are lists

This commit is contained in:
Robin Gloster 2019-10-26 17:39:27 +02:00 committed by Jan Tojnar
parent d03933805b
commit b7cfaf5519
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
# Otherwise clang fails with 'duplicate symbol ___sputc'
buildFlags = stdenv.lib.optionalString stdenv.isDarwin "CFLAGS=-std=gnu89";
buildFlags = stdenv.lib.optional stdenv.isDarwin "CFLAGS=-std=gnu89";
meta = {
homepage = http://libmpeg2.sourceforge.net/;