]> git.ipfire.org Git - thirdparty/util-linux.git/commit
build-sys: fix crypt() detection without -lcrypt
authorJohannes Nixdorf <mixi@shadowice.org>
Tue, 22 Jan 2019 18:17:55 +0000 (19:17 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 2 Apr 2019 10:16:53 +0000 (12:16 +0200)
commit68628af004ec878b87ece147f0a951cda5a8c7ac
tree34ceb16e5f4c031cfec4acd754d0dc8181069e12
parent24b1741940c50a81b5914cc2b71a189f15a708ef
build-sys: fix crypt() detection without -lcrypt

The check tested whether code using crypt() links without -lcrypt, but
didn't set have_crypt to yes if it succeeded.

This fixes the check erroneously failing when compiling against musl
libc.

Signed-off-by: Johannes Nixdorf <mixi@shadowice.org>
configure.ac