Fix: User commands require channel layer lib
As channel layer is separated out from user layer lib, it
has to be manually included in libusercommands, as user
command handlers use channel layer API's
Tested-by:
1. Made sure that libusercommands are loaded on it's own
without any undefined symbol error.
2. ipmitool user list 1 works on host interface
Change-Id: I6652ad248e01afc1349e3a9612754dbdb84b96ad
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
diff --git a/Makefile.am b/Makefile.am
index b62741a..7f24377 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -122,7 +122,8 @@
providers_LTLIBRARIES += libusercmds.la
libusercmds_la_LIBADD = \
libipmid/libipmid.la \
- user_channel/libuserlayer.la
+ user_channel/libuserlayer.la \
+ user_channel/libchannellayer.la
libusercmds_la_SOURCES = \
user_channel/usercommands.cpp
libusercmds_la_LDFLAGS = \