diff options
author | Julien Isorce <j.isorce@samsung.com> | 2015-12-18 10:30:25 +0000 |
---|---|---|
committer | Julien Isorce <j.isorce@samsung.com> | 2015-12-18 10:30:25 +0000 |
commit | 89229bcfede420564f8e2eb9c509f507f046361d (patch) | |
tree | 10ebd69277fc3d646f2b529b92d0609efa514149 /sys | |
parent | 6961945110465940294d1cdfc33532c76aa85f2d (diff) | |
download | gstreamer-plugins-bad-89229bcfede420564f8e2eb9c509f507f046361d.tar.gz |
applemedia: set -mmacosx-version-min to 10.8
Otherwise qtkitvideosrc fails to build on OSX 10.10.4
because QTKit has been deprecated since OS X 10.9.
Also set -mmacosx-version-min=10.8 in front to allow
the user or cerbero to override the version.
https://bugzilla.gnome.org/show_bug.cgi?id=745564
Diffstat (limited to 'sys')
-rw-r--r-- | sys/applemedia/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/applemedia/Makefile.am b/sys/applemedia/Makefile.am index dfbb04fb3..c95b059d2 100644 --- a/sys/applemedia/Makefile.am +++ b/sys/applemedia/Makefile.am @@ -22,10 +22,18 @@ libgstapplemedia_la_CFLAGS = \ $(GST_BASE_CFLAGS) \ $(GST_PLUGINS_BASE_CFLAGS) +if HAVE_IOS +GST_OBJCFLAGS_WITH_VERSION = $(GST_OBJCFLAGS) +else +# Add min version in front so the user or cerbero can override it since it +# always picks the last occurence when passing several -mmacosx-version-min. +GST_OBJCFLAGS_WITH_VERSION = -mmacosx-version-min=10.8 $(GST_OBJCFLAGS) +endif + libgstapplemedia_la_OBJCFLAGS = \ -I$(top_srcdir)/gst-libs \ -I$(top_builddir)/gst-libs \ - $(GST_OBJCFLAGS) \ + $(GST_OBJCFLAGS_WITH_VERSION) \ $(GST_BASE_CFLAGS) \ $(GST_PLUGINS_BASE_CFLAGS) |