summaryrefslogtreecommitdiff
path: root/src/lib/emix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/emix.c')
-rw-r--r--src/lib/emix.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/emix.c b/src/lib/emix.c
index cd2490e..485b76b 100644
--- a/src/lib/emix.c
+++ b/src/lib/emix.c
@@ -70,6 +70,7 @@ _backend_get_cb(Eina_Module *module, void *data EINA_UNUSED)
70Eina_Bool 70Eina_Bool
71emix_init(void) 71emix_init(void)
72{ 72{
73 char path[PATH_MAX];
73 if (_init_count > 0) 74 if (_init_count > 0)
74 goto end; 75 goto end;
75 76
@@ -99,8 +100,10 @@ emix_init(void)
99 goto err_ecore; 100 goto err_ecore;
100 } 101 }
101 102
103 snprintf(path, sizeof(path), "%s%s",PACKAGE_LIB_DIR, BACKEND_DIR);
104
102 ctx->backends = eina_module_list_get(ctx->backends, 105 ctx->backends = eina_module_list_get(ctx->backends,
103 BACKENDS_DIR, EINA_TRUE, 106 path, EINA_TRUE,
104 _backend_get_cb, NULL); 107 _backend_get_cb, NULL);
105 if (ctx->backends == NULL) 108 if (ctx->backends == NULL)
106 { 109 {