Skip to content

Commit

Permalink
configure: fix detection of builtin libs with -Werror.
Browse files Browse the repository at this point in the history
We didn't include stdlib, so these tests "failed" due to implicit
declaration of exit().

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Apr 8, 2019
1 parent ae614c2 commit 102a67c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -183,7 +183,7 @@ code=
int main(void)
{
printf("%p\n", b58check);
exit(0);
return 0;
}
/*END*/
EOF
Expand Down

0 comments on commit 102a67c

Please sign in to comment.