From 2da535f56fb239ef2c42871ee9b1a43f35ff341d Mon Sep 17 00:00:00 2001
From: Michael Smith <msmith@songbirdnest.com>
Date: Fri, 23 Oct 2009 18:28:22 -0700
Subject: [PATCH] osxvideo: explicitly link to GST_LIBS

---
 sys/osxvideo/Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys/osxvideo/Makefile.am b/sys/osxvideo/Makefile.am
index 71fc6206bb..a9aeeb0ec7 100644
--- a/sys/osxvideo/Makefile.am
+++ b/sys/osxvideo/Makefile.am
@@ -5,7 +5,10 @@ libgstosxvideosink_la_SOURCES = osxvideosink.m cocoawindow.m
 libgstosxvideosink_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
 	$(GST_PLUGINS_BASE_CFLAGS)
 libgstosxvideosink_la_LIBADD =  \
-	$(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) \
+	$(GST_LIBS) \
+	$(GST_BASE_LIBS) \
+    $(GST_PLUGINS_BASE_LIBS) \
+    -lgstvideo-$(GST_MAJORMINOR) \
 	-lgstinterfaces-$(GST_MAJORMINOR)
 
 libgstosxvideosink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -Wl,-framework -Wl,Cocoa -Wl,-framework -Wl,QuickTime -Wl,-framework -Wl,OpenGL