build: Remove -L flag when $LIBGCRYPT_LIBDIR is empty.

Reported by Alex Vong <alexvong1995@gmail.com>.

* config-daemon.ac: Do not add "-L$LIBGCRYPT_LIBDIR" to LIBGCRYPT_LIBS
when "$LIBGCRYPT_LIBDIR" is empty.
This commit is contained in:
Ludovic Courtès 2018-09-06 10:59:32 +02:00
parent b290a631a0
commit 888b64038d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

@ -48,7 +48,7 @@ if test "x$guix_build_daemon" = "xyes"; then
esac
case "$LIBGCRYPT_LIBDIR" in
no)
no | "")
LIBGCRYPT_LIBS="-lgcrypt"
;;
*)