pldm: change utils.cpp to a shared library
pldmtool is a separate executable that depends on utils.cpp.
Compile utils.cpp to a shared libaray so that it could be linked against
by components.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I25086d543746a220ff257b0b53101f4e61e28b95
diff --git a/tool/meson.build b/tool/meson.build
index 1c55710..95f746c 100644
--- a/tool/meson.build
+++ b/tool/meson.build
@@ -9,6 +9,6 @@
'pldmtool',
sources,
implicit_include_directories: false,
- dependencies: libpldm,
+ dependencies: [libpldm, libpldmutils],
install: true,
install_dir: get_option('bindir'))