mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-03 17:22:29 +00:00
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
This commit is contained in:
parent
6961945110
commit
89229bcfed
1 changed files with 9 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue