diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-09-06 10:59:32 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-09-06 10:59:32 +0200 |
commit | 888b64038db00c73467a05320c7c7f03070e5621 (patch) | |
tree | 0b3a4eca66768d6d8fa587963337216cf9949306 | |
parent | b290a631a0f9ee9a52095be66c843780dc0366f9 (diff) | |
download | patches-888b64038db00c73467a05320c7c7f03070e5621.tar patches-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.
-rw-r--r-- | config-daemon.ac | 2 |
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" ;; *) |