The hal_common_get_backend_with_library() can give a library name
that is totally the same as the default one. If then, use the default
one and do not make hashtable entry for the same given one.
Change-Id: I0ba489ec815167b03f12ad2fb6eab3cf4bf8f0ca
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
tmp_info->module_name);
return NULL;
}
+
+#if defined(__aarch64__) || defined(__x86_64__) || defined (__riscv)
+ if (g_strcmp0(library_name, tmp_info->library_name_64bit) == 0)
+#else
+ if (g_strcmp0(library_name, tmp_info->library_name) == 0)
+#endif
+ return tmp_info;
+
library_name_prefix = g_strdup_printf("libhal-backend-%s",
tmp_info->backend_module_name);
if (!library_name_prefix) {