mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 00:54:20 +01:00
configure: fix detection of builtin libs with -Werror.
We didn't include stdlib, so these tests "failed" due to implicit declaration of exit(). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -169,7 +169,7 @@ int main(void)
|
||||
{
|
||||
printf("%p\n", crypto_aead_chacha20poly1305_ietf_encrypt);
|
||||
printf("%d\n", crypto_aead_chacha20poly1305_ietf_NPUBBYTES);
|
||||
exit(0);
|
||||
return 0;
|
||||
}
|
||||
/*END*/
|
||||
var=HAVE_SYSTEM_LIBBASE58
|
||||
@@ -183,7 +183,7 @@ code=
|
||||
int main(void)
|
||||
{
|
||||
printf("%p\n", b58check);
|
||||
exit(0);
|
||||
return 0;
|
||||
}
|
||||
/*END*/
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user