From: sangwook lee Date: Thu, 23 Feb 2023 10:39:18 +0000 (+0900) Subject: Support both /usr/lib and /usr/lib64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f27cf42bac5aca19827268851393a59975975d3a;p=sdk%2Ftarget%2Fsdbd.git Support both /usr/lib and /usr/lib64 Change-Id: I2426c7768970690bc554b7568fb4f342cc04a5f4 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;