mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
Remove plugin specific static build option
Static and dynamic plugins now have the same interface. The standard --enable-static/--enable-shared toggle are sufficient.
This commit is contained in:
parent
51cd53050e
commit
e1d43cab65
2 changed files with 0 additions and 23 deletions
22
configure.ac
22
configure.ac
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue