Fixed 64bit LIBPATH 98/97698/1 accepted/tizen/common/20161115.200714 accepted/tizen/ivi/20161115.234316 accepted/tizen/mobile/20161115.234102 accepted/tizen/tv/20161115.234208 accepted/tizen/wearable/20161115.234238 submit/tizen/20161115.062308
authorJiyong Min <jiyong.min@samsung.com>
Mon, 14 Nov 2016 08:43:31 +0000 (17:43 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Tue, 15 Nov 2016 02:28:48 +0000 (18:28 -0800)
- In 64bit, g_module_open() try to open a shared library from /usr/lib and it results in failrue of loading of the library.

Change-Id: I8c943022cd63c2de4747b646755c8f267999661d
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
(cherry picked from commit a6585ecd7eb8d2c0f5d4a7d5cabd1f87c8cb4f2b)

include/wearable/image_util_private.h

index ac4ee0927fb522652cd3faf0b8001868712c3dd7..a339aa7eacadc3ad8295905b3fb65e0085154fd0 100755 (executable)
@@ -68,7 +68,7 @@ extern "C"
        } while (0)
 
 #define IMGCV_FUNC_NAME "mm_util_cv_extract_representative_color"
-#define PATH_MMUTIL_IMGCV_LIB "/usr/lib/libmmutil_imgcv.so"
+#define PATH_MMUTIL_IMGCV_LIB PATH_LIBDIR"/libmmutil_imgcv.so"
 typedef gboolean(*ModuleFunc)(void *, int, int, unsigned char *, unsigned char *, unsigned char *);
 
 typedef struct {