Skip to content
Snippets Groups Projects
Unverified Commit 888b6403 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

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.
parent b290a631
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ if test "x$guix_build_daemon" = "xyes"; then ...@@ -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"
;; ;;
*) *)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment