[346/906] Fix linking by providing libtool the correct --tag parameter
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 12 May 2009 09:41:19 +0000 (11:41 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:21 +0000 (19:31 +0000)
gst-libs/gst/gl/Makefile.am

index 23df76e..08ad810 100644 (file)
@@ -45,3 +45,8 @@ libgstgl_@GST_MAJORMINOR@_la_OBJCFLAGS = \
 libgstgl_@GST_MAJORMINOR@_la_LDFLAGS = \
        $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
 
+if GL_BACKEND_COCOA
+libgstgl_@GST_MAJORMINOR@_la_LIBTOOLFLAGS = --tag=OBJC
+else
+libgstgl_@GST_MAJORMINOR@_la_LIBTOOLFLAGS = --tag=CC
+endif