From: sangwook lee Date: Wed, 22 Feb 2023 07:57:56 +0000 (+0900) Subject: Support both /usr/lib and /usr/lib64 X-Git-Tag: accepted/tizen/unified/20230222.161522^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d1240a36d3e3cbe58c63a0358cd80124f7c8fff;p=sdk%2Ftarget%2Fsdbd.git Support both /usr/lib and /usr/lib64 Change-Id: Iddc1a37dfb66461f371e053964939610b8eab266 Signed-off-by: sangwook lee --- diff --git a/src/plugin.h b/src/plugin.h index 72345c6..4b44874 100755 --- a/src/plugin.h +++ b/src/plugin.h @@ -18,8 +18,9 @@ #define __PLUGIN_H #include "sdbd_plugin.h" +#define STR(R) #R -#define PLUGIN_PATH "/usr/lib/libsdbd_plugin.so" +#define PLUGIN_PATH STR(LIBDIR)"/libsdbd_plugin.so" #define PLUGIN_XML_PATH "/etc/sdbd/commands.xml" extern char* extcmd;