On 9/3/20 4:21 AM, Alex Bennée wrote: > From: Daniel P. Berrangé <[email protected]> > > 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é <[email protected]> > Signed-off-by: Alex Bennée <[email protected]> > Message-Id: <[email protected]> > --- > configure | 2 ++ > crypto/meson.build | 42 +++++++++++++++++++++++++++++++----------- > meson.build | 5 +++++ > 3 files changed, 38 insertions(+), 11 deletions(-)
Tested-by: Richard Henderson <[email protected]> Reviewed-by: Richard Henderson <[email protected]> r~
