summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>2014-07-07 19:21:57 +0200
committerCedric BAIL <c.bail@partner.samsung.com>2014-07-07 19:38:32 +0200
commit9cdba774a7f94b2158d9b22e1eff690b2267ada1 (patch)
tree2de06473e3b320387e37522d2f807882c3e0579c
parente289faeb2a799caec15ab0eab3cab10b6597ba5b (diff)
edbus: fix dlopening of the right library.
Summary: Change-Id: I94e3d39286df830ef07ed2bda0ec87fce34cec4a Bug: T1354 Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org> hotfix: look for versionned edbus lib Without EFL application linked with edbus (deprecated DBUS API) will fail to run and report this log : CRI<12610>:dialer dialer/rc.c:442 \ rc_init() Elementary does not support DBus. CRI<12610>:dialer dialer/main.c:166 \ elm_main() Could not setup remote control via DBus. Bug: T1354 Change-Id: Id05ba2b5282243ccb566fc7b1ffb4b1e114004b1 Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org> Test Plan: Bug-Tizen: TIVI-3234 Reviewers: cedric Reviewed By: cedric CC: cedric Differential Revision: https://phab.enlightenment.org/D1116 Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
-rw-r--r--src/lib/elm_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elm_main.c b/src/lib/elm_main.c
index 341ae6a69..0fa8e738f 100644
--- a/src/lib/elm_main.c
+++ b/src/lib/elm_main.c
@@ -468,7 +468,8 @@ elm_need_e_dbus(void)
468#ifndef RTLD_NOLOAD 468#ifndef RTLD_NOLOAD
469# define RTLD_NOLOAD RTLD_GLOBAL 469# define RTLD_NOLOAD RTLD_GLOBAL
470#endif 470#endif
471 if (!e_dbus_handle) e_dbus_handle = dlopen("libeldbus.so", RTLD_LAZY | RTLD_NOLOAD); 471 if (!e_dbus_handle) e_dbus_handle = dlopen("libedbus.so", RTLD_LAZY | RTLD_NOLOAD);
472 if (!e_dbus_handle) e_dbus_handle = dlopen("libedbus.so.1", RTLD_LAZY | RTLD_NOLOAD);
472 if (!e_dbus_handle) return EINA_FALSE; 473 if (!e_dbus_handle) return EINA_FALSE;
473 init_func = dlsym(e_dbus_handle, "e_dbus_init"); 474 init_func = dlsym(e_dbus_handle, "e_dbus_init");
474 if (!init_func) return EINA_FALSE; 475 if (!init_func) return EINA_FALSE;