guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/06: build: Remove -L flag when $LIBGCRYPT_LIBDIR is empty.


From: Ludovic Courtès
Subject: 05/06: build: Remove -L flag when $LIBGCRYPT_LIBDIR is empty.
Date: Thu, 6 Sep 2018 05:20:52 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 888b64038db00c73467a05320c7c7f03070e5621
Author: Ludovic Courtès <address@hidden>
Date:   Thu Sep 6 10:59:32 2018 +0200

    build: Remove -L flag when $LIBGCRYPT_LIBDIR is empty.
    
    Reported by Alex Vong <address@hidden>.
    
    * 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(-)

diff --git a/config-daemon.ac b/config-daemon.ac
index 6cf65be..04f0fde 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"
       ;;
     *)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]