From c8489f82948511ec9bbd97f7146ed4b772a89c7f Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Mon, 9 Sep 2002 15:12:59 +0000 Subject: alsa needs global linking CVS patchset: 2636 CVS date: 2002/09/09 15:12:59 --- src/xine-engine/load_plugins.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index a0328ba18..c37ce00df 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: load_plugins.c,v 1.87 2002/09/09 13:57:12 mroi Exp $ + * $Id: load_plugins.c,v 1.88 2002/09/09 15:12:59 mroi Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -215,7 +215,7 @@ static void collect_plugins(xine_t *this, char *path){ plugin_name = str; - if(!(lib = dlopen (str, RTLD_LAZY))) { + if(!(lib = dlopen (str, RTLD_LAZY | RTLD_GLOBAL))) { #ifdef LOG { @@ -300,7 +300,7 @@ static void *_load_plugin(xine_t *this, void *lib; - if(!(lib = dlopen (filename, RTLD_LAZY))) { + if(!(lib = dlopen (filename, RTLD_LAZY | RTLD_GLOBAL))) { xine_log (this, XINE_LOG_PLUGIN, _("load_plugins: cannot (stage 2) open plugin lib %s:\n%s\n"), -- cgit v1.2.3