From a2cc554f438c220b3cc73eb93879dd87795a86cd Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Jun 22 2018 10:17:55 +0000 Subject: utils: add libsss_child dependency to libsss_cert Since the refactoring of the ssh responder to call p11_child to validate certificates there is a dependency between libss_cert and libsss_child. In some environments, e.g. gentoo or the OpenSUSE build service, this dependency must be declared explicitly even if it is resolved otherwise while linking the binaries. Reviewed-by: Fabiano FidĂȘncio --- diff --git a/Makefile.am b/Makefile.am index 99974cf..d62d135 100644 --- a/Makefile.am +++ b/Makefile.am @@ -972,11 +972,17 @@ libsss_cert_la_CFLAGS = \ $(AM_CFLAGS) \ $(SSS_CERT_CFLAGS) \ $(NULL) +# NOTE: +# There is a dependency between libsss_cert and libsss_child which should +# always be declared explicitly and if missing might cause issue in some +# environments (e.g. Gentoo or OpenSUSE build service), even if it is +# resolved otherwise while linking the binaries. libsss_cert_la_LIBADD = \ $(SSS_CERT_LIBS) \ $(TALLOC_LIBS) \ $(TEVENT_LIBS) \ libsss_crypt.la \ + libsss_child.la \ libsss_debug.la \ libsss_certmap.la \ $(NULL)