From 7f21077a802f3d3c144b086c969d54a36775992e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 21 Jul 2008 16:03:11 +0000 Subject: 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. --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 4abcf5ca..50ebcb74 100644 --- a/configure.ac +++ b/configure.ac @@ -660,7 +660,15 @@ dnl *** ladspa *** translit(dnm, m, l) AM_CONDITIONAL(USE_LADSPA, true) AG_GST_CHECK_FEATURE(LADSPA, [ladspa], ladspa, [ 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 *** translit(dnm, m, l) AM_CONDITIONAL(USE_LIBMMS, true) -- cgit v1.2.1