Remove plugin specific static build option
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 16 May 2017 18:44:43 +0000 (14:44 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 16 May 2017 18:44:43 +0000 (14:44 -0400)
Static and dynamic plugins now have the same interface. The standard
--enable-static/--enable-shared toggle are sufficient.

configure.ac
gst/rtsp-sink/Makefile.am

index 4c65ceb7a3c0e4998238630495c787f096667302..4c011ab6d8d4458bf624ccba787a507b26063903 100644 (file)
@@ -311,28 +311,6 @@ AC_SUBST([GST_OBJ_CFLAGS])
 GST_OBJ_LIBS="\$(top_builddir)/gst/rtsp-server/libgstrtspserver-$GST_API_VERSION.la \$(GST_ALL_LIBS)"
 AC_SUBST([GST_OBJ_LIBS])
 
-dnl build static plugins or not
-AC_MSG_CHECKING([whether to build static plugins or not])
-AC_ARG_ENABLE(
-  static-plugins,
-  AC_HELP_STRING(
-    [--enable-static-plugins],
-    [build static plugins @<:@default=no@:>@]),
-  [AS_CASE(
-    [$enableval], [no], [], [yes], [],
-    [AC_MSG_ERROR([bad value "$enableval" for --enable-static-plugins])])],
-  [enable_static_plugins=no])
-AC_MSG_RESULT([$enable_static_plugins])
-if test "x$enable_static_plugins" = xyes; then
-  AC_DEFINE(GST_PLUGIN_BUILD_STATIC, 1,
-    [Define if static plugins should be built])
-  GST_PLUGIN_LIBTOOLFLAGS=""
-else
-  GST_PLUGIN_LIBTOOLFLAGS="--tag=disable-static"
-fi
-AC_SUBST(GST_PLUGIN_LIBTOOLFLAGS)
-AM_CONDITIONAL(GST_PLUGIN_BUILD_STATIC, test "x$enable_static_plugins" = "xyes")
-
 dnl If only building static libraries, define GST_STATIC_COMPILATION. This is
 dnl needed only on Windows, but it doesn't hurt to have it everywhere.
 if test x$enable_static = xyes -a x$enable_shared = xno; then
index 23807ce6c79b7e00c74914963f8c962caebc4bbc..f8092e5ba9522e0624fcc69ed520b2a3e4559fc8 100644 (file)
@@ -13,6 +13,5 @@ libgstrtspclientsink_la_LIBADD = $(top_builddir)/gst/rtsp-server/libgstrtspserve
                       -lgstsdp-@GST_API_VERSION@ $(GST_NET_LIBS) $(GST_LIBS) \
                        $(GIO_LIBS)
 libgstrtspclientsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
-libgstrtspclientsink_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
 
 noinst_HEADERS = gstrtspclientsink.h