mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 07:38: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
7d5b3ca7a9
commit
4a906e412e
2 changed files with 0 additions and 23 deletions
22
configure.ac
22
configure.ac
|
@ -414,28 +414,6 @@ dnl LDFLAGS modifier defining exported symbols from built libraries
|
|||
GST_LIB_LDFLAGS=" -export-symbols-regex \^_*\(ges_\|GES_\).*"
|
||||
AC_SUBST(GST_LIB_LDFLAGS)
|
||||
|
||||
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 GST_PLUGIN_LDFLAGS must only contain flags, not libs - they get added before
|
||||
dnl whatevertarget_LIBS and -L flags here affect the rest of the linking
|
||||
GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugin_.*' $GST_ALL_LDFLAGS"
|
||||
|
|
|
@ -16,7 +16,6 @@ libgstnle_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \
|
|||
$(GST_BASE_LIBS) $(GST_LIBS)
|
||||
|
||||
libgstnle_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
libgstnle_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
|
||||
|
||||
noinst_HEADERS = \
|
||||
nle.h \
|
||||
|
|
Loading…
Reference in a new issue