On 9/3/20 4:21 AM, Alex Bennée wrote: > From: Daniel P. Berrangé <berra...@redhat.com> > > If nettle is disabled and gcrypt enabled, the compiler and linker flags > needed for gcrypt are not passed. > > Gnutls was also not added as a dependancy when gcrypt is enabled. > > Attempting to add the library dependencies at the same time as the > source dependencies is error prone, as there are alot of different > rules for picking which sources to use, and some of the source files > use code level conditionals intead. It is thus clearer to add the > library dependencies separately. > > Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> > Signed-off-by: Alex Bennée <alex.ben...@linaro.org> > Message-Id: <20200901133050.381844-2-berra...@redhat.com> > --- > configure | 2 ++ > crypto/meson.build | 42 +++++++++++++++++++++++++++++++----------- > meson.build | 5 +++++ > 3 files changed, 38 insertions(+), 11 deletions(-)
Tested-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~