From 888b64038db00c73467a05320c7c7f03070e5621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 6 Sep 2018 10:59:32 +0200 Subject: build: Remove -L flag when $LIBGCRYPT_LIBDIR is empty. Reported by Alex Vong . * config-daemon.ac: Do not add "-L$LIBGCRYPT_LIBDIR" to LIBGCRYPT_LIBS when "$LIBGCRYPT_LIBDIR" is empty. --- config-daemon.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config-daemon.ac') diff --git a/config-daemon.ac b/config-daemon.ac index 6cf65bef1d..04f0fde3b2 100644 --- a/config-daemon.ac +++ b/config-daemon.ac @@ -48,7 +48,7 @@ if test "x$guix_build_daemon" = "xyes"; then esac case "$LIBGCRYPT_LIBDIR" in - no) + no | "") LIBGCRYPT_LIBS="-lgcrypt" ;; *) -- cgit v1.2.3