summaryrefslogtreecommitdiffstats
path: root/src/daemon
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-18 23:52:44 +0200
committerLennart Poettering <lennart@poettering.net>2008-08-18 23:52:44 +0200
commit3d2d6ca958719c03fa541dda48037501919a55de (patch)
treec0e378f622f2e65b2bf5e622ae94bd6de03b4d6a /src/daemon
parent46f0f9ed8bb2cda7c1f19b5d900e2954d7aa1f27 (diff)
parent016fcd92d412cb453a062b69053bc49a742fff56 (diff)
Merge commit 'flameeyes/autoconf-2.62'
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/ltdl-bind-now.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/daemon/ltdl-bind-now.c b/src/daemon/ltdl-bind-now.c
index bb5a196e..42c3b231 100644
--- a/src/daemon/ltdl-bind-now.c
+++ b/src/daemon/ltdl-bind-now.c
@@ -102,7 +102,9 @@ static lt_module bind_now_open(lt_user_data d, const char *fname, lt_dladvise ad
pa_assert(fname);
if (!(m = dlopen(fname, PA_BIND_NOW))) {
+#ifdef HAVE_LT_DLMUTEX_REGISTER
libtool_set_error(dlerror());
+#endif
return NULL;
}
@@ -114,7 +116,9 @@ static int bind_now_close(lt_user_data d, lt_module m) {
pa_assert(m);
if (dlclose(m) != 0){
+#ifdef HAVE_LT_DLMUTEX_REGISTER
libtool_set_error(dlerror());
+#endif
return 1;
}
@@ -128,7 +132,9 @@ static lt_ptr bind_now_find_sym(lt_user_data d, lt_module m, const char *symbol)
pa_assert(symbol);
if (!(ptr = dlsym(m, symbol))) {
+#ifdef HAVE_LT_DLMUTEX_REGISTER
libtool_set_error(dlerror());
+#endif
return NULL;
}