summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>2019-03-02 20:08:32 +0530
committerVernon Mauery <vernon.mauery@linux.intel.com>2019-03-04 16:28:36 +0000
commita4e09e46949bf9e5abb99aa18f5c399f03f2a00a (patch)
treed439cb54eb6a31a048f3ad6527a420b9ad0b6b19
parent7cf145f3dbe6875fa4bfc663a6de192616d06db1 (diff)
downloadphosphor-host-ipmid-a4e09e46949bf9e5abb99aa18f5c399f03f2a00a.zip
phosphor-host-ipmid-a4e09e46949bf9e5abb99aa18f5c399f03f2a00a.tar.gz
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>
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index b62741a..7f24377 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -122,7 +122,8 @@ libipmi20_la_CXXFLAGS = $(COMMON_CXX)
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 = \
OpenPOWER on IntegriCloud