diff options
author | Marcel Hollerbach <marcel@osg.samsung.com> | 2018-02-12 20:52:28 +0100 |
---|---|---|
committer | Marcel Hollerbach <marcel@osg.samsung.com> | 2018-02-17 21:17:58 +0100 |
commit | 09fd1c273ce4d98a2d344fb7dcbed0bbbf2c152c (patch) | |
tree | 41d36d60f089b8c1460ca17f5be58a6ac0cbaf6f /src/lib/evas/file/evas_module.c | |
parent | c3f466c9ead47bc8ecae2019f0c6d08fa337a6f6 (diff) |
evas: use new bs static lib
Diffstat (limited to '')
-rw-r--r-- | src/lib/evas/file/evas_module.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/lib/evas/file/evas_module.c b/src/lib/evas/file/evas_module.c index b4cabf845b..5e6a4d6a53 100644 --- a/src/lib/evas/file/evas_module.c +++ b/src/lib/evas/file/evas_module.c | |||
@@ -6,6 +6,7 @@ | |||
6 | 6 | ||
7 | #include "evas_common_private.h" | 7 | #include "evas_common_private.h" |
8 | #include "evas_private.h" | 8 | #include "evas_private.h" |
9 | #include "../../static_libs/buildsystem/buildsystem.h" | ||
9 | 10 | ||
10 | 11 | ||
11 | #ifndef EVAS_MODULE_NO_ENGINES | 12 | #ifndef EVAS_MODULE_NO_ENGINES |
@@ -436,8 +437,7 @@ evas_module_engine_list(void) | |||
436 | { | 437 | { |
437 | if (run_in_tree) | 438 | if (run_in_tree) |
438 | { | 439 | { |
439 | snprintf(buf, sizeof(buf), "%s/engines/%s/.libs", | 440 | bs_mod_dir_get(buf, sizeof(buf), "evas/engines", fname); |
440 | s, fname); | ||
441 | if (!evas_file_path_exists(buf)) | 441 | if (!evas_file_path_exists(buf)) |
442 | buf[0] = '\0'; | 442 | buf[0] = '\0'; |
443 | } | 443 | } |
@@ -566,8 +566,10 @@ evas_module_find_type(Evas_Module_Type type, const char *name) | |||
566 | { | 566 | { |
567 | if (run_in_tree) | 567 | if (run_in_tree) |
568 | { | 568 | { |
569 | snprintf(buffer, sizeof(buffer), "%s/%s/%s/.libs/%s", | 569 | char subsystem[PATH_MAX]; |
570 | path, type_str, name, EVAS_MODULE_NAME); | 570 | |
571 | snprintf(subsystem, sizeof(subsystem), "evas/%s", type_str); | ||
572 | bs_mod_get(buffer, sizeof(buffer), subsystem, name); | ||
571 | if (!evas_file_path_exists(buffer)) | 573 | if (!evas_file_path_exists(buffer)) |
572 | buffer[0] = '\0'; | 574 | buffer[0] = '\0'; |
573 | } | 575 | } |
@@ -643,7 +645,7 @@ evas_module_unload(Evas_Module *em) | |||
643 | if (!em->definition) | 645 | if (!em->definition) |
644 | return; | 646 | return; |
645 | 647 | ||
646 | // for now lets not unload modules - they may still be in use. | 648 | // for now lets not unload modules - they may still be in use. |
647 | // em->definition->func.close(em); | 649 | // em->definition->func.close(em); |
648 | // em->loaded = 0; | 650 | // em->loaded = 0; |
649 | 651 | ||