diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2019-09-20 10:16:28 +0100 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2019-09-20 10:47:23 +0100 |
commit | 95328255b1503602e53bd600dd41fdd01c0f8024 (patch) | |
tree | e8ccc586b27516ed561f5eed170a897026b22eac | |
parent | 17e375c5a7600c76e02efdec3e96c3edf5d27bbb (diff) | |
download | enlightenment-95328255b1503602e53bd600dd41fdd01c0f8024.tar.gz |
wiz - remove e module src support as .libs dirs no longer exist
it wouldnt work anyway and i removed it for e modules themselbves
already - now fix this for wizard too as it'd not work anyway.
-rw-r--r-- | src/modules/wizard/e_mod_main.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/modules/wizard/e_mod_main.c b/src/modules/wizard/e_mod_main.c index ce6c884819..51d62b58c0 100644 --- a/src/modules/wizard/e_mod_main.c +++ b/src/modules/wizard/e_mod_main.c @@ -64,16 +64,11 @@ e_modapi_init(E_Module *m) Eina_List *files; char buf[PATH_MAX]; char *file; - const char *src_path; wiz_module = m; wizard_init(); - src_path = getenv("E_MODULE_SRC_PATH"); - if (src_path) - snprintf(buf, sizeof(buf), "%s/.libs", e_module_dir_get(m)); - else - snprintf(buf, sizeof(buf), "%s/%s", e_module_dir_get(m), MODULE_ARCH); + snprintf(buf, sizeof(buf), "%s/%s", e_module_dir_get(m), MODULE_ARCH); files = ecore_file_ls(buf); files = eina_list_sort(files, 0, (Eina_Compare_Cb)_cb_sort_files); EINA_LIST_FREE(files, file) @@ -82,11 +77,8 @@ e_modapi_init(E_Module *m) { void *handle; - if (src_path) - snprintf(buf, sizeof(buf), "%s/.libs/%s", e_module_dir_get(m), file); - else - snprintf(buf, sizeof(buf), "%s/%s/%s", - e_module_dir_get(m), MODULE_ARCH, file); + snprintf(buf, sizeof(buf), "%s/%s/%s", + e_module_dir_get(m), MODULE_ARCH, file); handle = dlopen(buf, RTLD_NOW | RTLD_LOCAL); if (handle) { |