msilbc: fix build

This commit is contained in:
Robin Gloster 2017-03-11 15:05:23 +01:00
parent d1247221cb
commit 89747d357b
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -8,12 +8,13 @@ stdenv.mkDerivation rec {
sha256 = "125yadpc0w1q84839dadin3ahs0gxxfas0zmc4c18mjmf58dmm7d";
};
# patchPhase = "sed -i /MS_FILTER_SET_FMTP/d ilbc.c";
propagatedBuildInputs = [ ilbc mediastreamer ];
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ilbc mediastreamer];
buildInputs = [pkgconfig];
configureFlags = "ILBC_LIBS=ilbc ILBC_CFLAGS=-I${ilbc}/include";
configureFlags = [
"ILBC_LIBS=ilbc" "ILBC_CFLAGS=-I${ilbc}/include"
"MEDIASTREAMER_LIBS=mediastreamer" "MEDIASTREAMER_CFLAGS=-I${mediastreamer}/include"
];
meta = {
platforms = stdenv.lib.platforms.linux;