summary refs log tree commit diff
path: root/config-daemon.ac
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-09-06 10:59:32 +0200
committerLudovic Courtès <ludo@gnu.org>2018-09-06 10:59:32 +0200
commit888b64038db00c73467a05320c7c7f03070e5621 (patch)
tree0b3a4eca66768d6d8fa587963337216cf9949306 /config-daemon.ac
parentb290a631a0f9ee9a52095be66c843780dc0366f9 (diff)
downloadguix-888b64038db00c73467a05320c7c7f03070e5621.tar.gz
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.
Diffstat (limited to 'config-daemon.ac')
-rw-r--r--config-daemon.ac2
1 files changed, 1 insertions, 1 deletions
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"
       ;;
     *)