Merge pull request #31760 from LnL7/darwin-gstreamer

gstreamer: fix darwin build
This commit is contained in:
Daiderd Jordan 2017-11-17 18:59:11 +01:00 committed by GitHub
commit 45b6c9c8f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
{ stdenv, fetchurl, pkgconfig, perl, bison, flex, python, gobjectIntrospection { stdenv, fetchurl, pkgconfig, perl, bison, flex, python, gobjectIntrospection
, glib, makeWrapper , glib, makeWrapper
, darwin
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -24,6 +25,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig perl bison flex python gobjectIntrospection makeWrapper pkgconfig perl bison flex python gobjectIntrospection makeWrapper
]; ];
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.CoreServices;
propagatedBuildInputs = [ glib ]; propagatedBuildInputs = [ glib ];