Support both /usr/lib and /usr/lib64 45/288745/1 accepted/tizen/unified/20230222.161522
authorsangwook lee <sangwook96.lee@samsung.com>
Wed, 22 Feb 2023 07:57:56 +0000 (16:57 +0900)
committersangwook lee <sangwook96.lee@samsung.com>
Wed, 22 Feb 2023 07:57:56 +0000 (16:57 +0900)
Change-Id: Iddc1a37dfb66461f371e053964939610b8eab266
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
src/plugin.h

index 72345c6cf4f28f77f5befd393c61382984fd14f2..4b44874b431345584d519bf93c56f9810cb1e8d7 100755 (executable)
@@ -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;