]> 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>
Wed, 23 Jan 2019 11:20:47 +0000 (12:20 +0100)
commit70c364b4db6530ada12f7103b5c5d8ceb777307f
tree2a6b1a462002ac24e9e13391b0379a5a9eaca5b2
parent1c4a2600cc5dc44e6d517ca9fa6f3d7b1ef9d481
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