summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-09-12 16:19:33 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-09-12 16:19:33 +0200
commitf3c761b9559f98f16d1bcefce6e9e46d74ca657b (patch)
tree61c6df14421affb99c2533a64ac407e952c045c3
parent034e45c101d81163aaba62a3971353cfad26106f (diff)
Fix build of static plugin
-rw-r--r--ext/eglgles/Makefile.am2
-rw-r--r--ext/eglgles/gsteglglessink.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/ext/eglgles/Makefile.am b/ext/eglgles/Makefile.am
index a1fe7ce0d..85863c088 100644
--- a/ext/eglgles/Makefile.am
+++ b/ext/eglgles/Makefile.am
@@ -13,6 +13,8 @@ libgsteglglessink_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) \
-lgstinterfaces-$(GST_MAJORMINOR)
libgsteglglessink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
+if !GST_PLUGIN_BUILD_STATIC
libgsteglglessink_la_LIBTOOLFLAGS = --tag=disable-static
+endif
noinst_HEADERS = gsteglglessink.h video_platform_wrapper.h
diff --git a/ext/eglgles/gsteglglessink.c b/ext/eglgles/gsteglglessink.c
index 3161b5276..b71762b6e 100644
--- a/ext/eglgles/gsteglglessink.c
+++ b/ext/eglgles/gsteglglessink.c
@@ -1664,9 +1664,9 @@ eglglessink_plugin_init (GstPlugin * plugin)
#endif
/* gstreamer looks for this structure to register eglglessinks */
-GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
+GST_PLUGIN_DEFINE2 (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
- "eglglessink",
+ eglglessink,
"EGL/GLES sink",
eglglessink_plugin_init,
VERSION, "LGPL", "GStreamer", "http://gstreamer.net/")