summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2002-09-09 15:12:59 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2002-09-09 15:12:59 +0000
commitc8489f82948511ec9bbd97f7146ed4b772a89c7f (patch)
tree1e136b39ff8c82062d484807f00d272a27bf9f4f
parentb3cb8d528ee17a4ce2ac4c2257a7d82a1729c343 (diff)
downloadxine-lib-c8489f82948511ec9bbd97f7146ed4b772a89c7f.tar.gz
xine-lib-c8489f82948511ec9bbd97f7146ed4b772a89c7f.tar.bz2
alsa needs global linking
CVS patchset: 2636 CVS date: 2002/09/09 15:12:59
-rw-r--r--src/xine-engine/load_plugins.c6
1 files 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"),