mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 08:55:33 +00:00
Link the ladspa plugin with -ldl. It's needed for dlopen() and friends for loading the ladspa plugins and previously ...
Original commit message from CVS: * configure.ac: * ext/ladspa/Makefile.am: Link the ladspa plugin with -ldl. It's needed for dlopen() and friends for loading the ladspa plugins and previously was linked in by gmodule. Fixes bug #543848.
This commit is contained in:
parent
7b80cad30f
commit
7f21077a80
3 changed files with 17 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2008-07-21 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||||
|
|
||||||
|
* configure.ac:
|
||||||
|
* ext/ladspa/Makefile.am:
|
||||||
|
Link the ladspa plugin with -ldl. It's needed for dlopen() and friends
|
||||||
|
for loading the ladspa plugins and previously was linked in by
|
||||||
|
gmodule. Fixes bug #543848.
|
||||||
|
|
||||||
2008-07-21 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
2008-07-21 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||||
|
|
||||||
* gst/modplug/libmodplug/Makefile.am:
|
* gst/modplug/libmodplug/Makefile.am:
|
||||||
|
|
|
@ -660,7 +660,15 @@ dnl *** ladspa ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_LADSPA, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_LADSPA, true)
|
||||||
AG_GST_CHECK_FEATURE(LADSPA, [ladspa], ladspa, [
|
AG_GST_CHECK_FEATURE(LADSPA, [ladspa], ladspa, [
|
||||||
AC_CHECK_HEADER(ladspa.h, HAVE_LADSPA="yes", HAVE_LADSPA="no")
|
AC_CHECK_HEADER(ladspa.h, HAVE_LADSPA="yes", HAVE_LADSPA="no")
|
||||||
|
save_cflags="$CFLAGS"
|
||||||
|
CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
||||||
|
|
||||||
|
AC_CHECK_LIB(dl, dlopen,
|
||||||
|
LADSPA_LIBS="-ldl",
|
||||||
|
HAVE_LADSPA="no")
|
||||||
|
CFLAGS="$save_cflags"
|
||||||
])
|
])
|
||||||
|
AC_SUBST(LADSPA_LIBS)
|
||||||
|
|
||||||
dnl *** libmms ***
|
dnl *** libmms ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBMMS, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBMMS, true)
|
||||||
|
|
|
@ -2,7 +2,7 @@ plugin_LTLIBRARIES = libgstladspa.la
|
||||||
|
|
||||||
libgstladspa_la_SOURCES = gstsignalprocessor.c gstladspa.c search.c load.c
|
libgstladspa_la_SOURCES = gstsignalprocessor.c gstladspa.c search.c load.c
|
||||||
libgstladspa_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_CFLAGS)
|
libgstladspa_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_CFLAGS)
|
||||||
libgstladspa_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) $(LIBM)
|
libgstladspa_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) $(LIBM) $(LADSPA_LIBS)
|
||||||
libgstladspa_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgstladspa_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
||||||
noinst_HEADERS = gstsignalprocessor.h gstladspa.h utils.h
|
noinst_HEADERS = gstsignalprocessor.h gstladspa.h utils.h
|
||||||
|
|
Loading…
Reference in a new issue