From 8f782bec17cbc8f23f553c40e7d01785aaebfdbb Mon Sep 17 00:00:00 2001 From: Erick Cardona Date: Fri, 9 Nov 2018 14:37:54 -0600 Subject: [PATCH] Resolve circular references (uuid) This commit groups the libraries in order to resolve the references when linking. It misses linking the libuuid library on libsm_common.so. This issue can be reproducible on Ubuntu (Xenial) systems. Story: 2004343 Change-Id: Ib64ce8aa28bd8bcd6bb737ddcccc38d36d552947 Signed-off-by: Erick Cardona --- service-mgmt/sm-common-1.0.0/src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service-mgmt/sm-common-1.0.0/src/Makefile b/service-mgmt/sm-common-1.0.0/src/Makefile index c0f22de3..6298dc65 100644 --- a/service-mgmt/sm-common-1.0.0/src/Makefile +++ b/service-mgmt/sm-common-1.0.0/src/Makefile @@ -44,7 +44,7 @@ libsm_common.so.$(VER_MJR): libsm_common.so.$(VER) ln -sf $^ $@ libsm_common.so.$(VER): ${OBJS} - $(CXX) ${LDFLAGS} $(LDLIBS) -Wl,-soname,libsm_common.so.$(VER_MJR) -o $@ $^ + $(CXX) ${LDFLAGS} -Wl,--start-group $(LDLIBS) -Wl,-soname,libsm_common.so.$(VER_MJR) -o $@ $^ libsm_watchdog_nfs.so: libsm_watchdog_nfs.so.$(VER_MJR) ln -sf $^ $@