summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJulien Isorce <j.isorce@samsung.com>2015-06-03 22:21:30 +0100
committerJulien Isorce <j.isorce@samsung.com>2015-06-04 08:04:13 +0100
commit6d04b62e857bf06f38355c20517a4c9d01186078 (patch)
treee4d58b5fa2f56b78f49be3918db3205774cb7d9c /tests
parent050e12c62a74926857082694ed3657d449a4dce7 (diff)
downloadgstreamer-plugins-bad-6d04b62e857bf06f38355c20517a4c9d01186078.tar.gz
gl/example: fix build error when compiling cocoa-videooverlay
libtool: error: ignoring unknown tag OBJC and clang: error: argument unused during compilation: '-pthread'
Diffstat (limited to 'tests')
-rwxr-xr-xtests/examples/gl/cocoa/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/examples/gl/cocoa/Makefile.am b/tests/examples/gl/cocoa/Makefile.am
index 91349c014..36905469f 100755
--- a/tests/examples/gl/cocoa/Makefile.am
+++ b/tests/examples/gl/cocoa/Makefile.am
@@ -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