summaryrefslogtreecommitdiff
path: root/ext/rtmp
diff options
context:
space:
mode:
Diffstat (limited to 'ext/rtmp')
-rw-r--r--ext/rtmp/Makefile.am2
-rw-r--r--ext/rtmp/gstrtmp.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/ext/rtmp/Makefile.am b/ext/rtmp/Makefile.am
index bd2398cab..f3070aef1 100644
--- a/ext/rtmp/Makefile.am
+++ b/ext/rtmp/Makefile.am
@@ -6,5 +6,7 @@ noinst_HEADERS = gstrtmpsrc.h gstrtmpsink.h
libgstrtmp_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(RTMP_CFLAGS)
libgstrtmp_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) $(RTMP_LIBS)
libgstrtmp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
+if !GST_PLUGIN_BUILD_STATIC
libgstrtmp_la_LIBTOOLFLAGS = --tag=disable-static
+endif
diff --git a/ext/rtmp/gstrtmp.c b/ext/rtmp/gstrtmp.c
index 7acbea4a9..be8d63de1 100644
--- a/ext/rtmp/gstrtmp.c
+++ b/ext/rtmp/gstrtmp.c
@@ -47,8 +47,8 @@ plugin_init (GstPlugin * plugin)
return ret;
}
-GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
+GST_PLUGIN_DEFINE2 (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
- "rtmp",
+ rtmp,
"RTMP source and sink",
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);