mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
gl/example: fix build error when compiling cocoa-videooverlay
libtool: error: ignoring unknown tag OBJC and clang: error: argument unused during compilation: '-pthread'
This commit is contained in:
parent
050e12c62a
commit
6d04b62e85
1 changed files with 5 additions and 5 deletions
|
@ -4,12 +4,12 @@ noinst_PROGRAMS = cocoa-videooverlay
|
|||
|
||||
cocoa_videooverlay_SOURCES = cocoa-videooverlay.m
|
||||
|
||||
cocoa_videooverlay_OBJCFLAGS=-I$(top_srcdir)/gst-libs -I$(top_builddir)/gst-libs \
|
||||
cocoa_videooverlay_OBJCFLAGS=-Wno-error=unused-command-line-argument \
|
||||
-I$(top_srcdir)/gst-libs -I$(top_builddir)/gst-libs \
|
||||
$(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
|
||||
$(GL_CFLAGS) ${GL_OBJCFLAGS}
|
||||
cocoa_videooverlay_LDADD=$(GST_PLUGINS_BASE_LIBS) $(GST_LIBS) \
|
||||
$(GL_LIBS) -lgstvideo-$(GST_API_VERSION)
|
||||
$(GL_CFLAGS) $(GL_OBJCFLAGS)
|
||||
|
||||
cocoa_videooverlay_LIBTOOLFLAGS = --tag=OBJC
|
||||
cocoa_videooverlay_LDADD=$(GST_PLUGINS_BASE_LIBS) $(GST_LIBS) \
|
||||
$(GL_LIBS) -lgstvideo-$(GST_API_VERSION)
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue