meson: fix gcrypt config option
Also detect libgpg-error. Require both to be present for HAVE_CRYPT, even though libgpg-error is only used in src/resolve. If one is available, the other should be too, so it doesn't seem worth the trouble to make two separate conditions.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
36f0387efc
commit
76c8741060
@@ -147,6 +147,7 @@ tests += [
|
||||
'src/shared/test-tables.h'],
|
||||
[],
|
||||
[libgcrypt,
|
||||
libgpg_error,
|
||||
libm],
|
||||
'ENABLE_RESOLVED'],
|
||||
|
||||
@@ -155,6 +156,7 @@ tests += [
|
||||
dns_type_headers],
|
||||
[],
|
||||
[libgcrypt,
|
||||
libgpg_error,
|
||||
libm],
|
||||
'ENABLE_RESOLVED'],
|
||||
|
||||
@@ -163,6 +165,7 @@ tests += [
|
||||
dns_type_headers],
|
||||
[],
|
||||
[libgcrypt,
|
||||
libgpg_error,
|
||||
libm],
|
||||
'ENABLE_RESOLVED'],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user