mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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:
@@ -48,7 +48,7 @@ if test "x$guix_build_daemon" = "xyes"; then
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
case "$LIBGCRYPT_LIBDIR" in
|
case "$LIBGCRYPT_LIBDIR" in
|
||||||
no)
|
no | "")
|
||||||
LIBGCRYPT_LIBS="-lgcrypt"
|
LIBGCRYPT_LIBS="-lgcrypt"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|||||||
Reference in New Issue
Block a user