[git] GPG-ERROR - branch, master, updated. libgpg-error-1.10-25-geec4aff

by Diego Elio Pettenò cvs at cvs.gnupg.org
Thu Sep 22 21:27:10 CEST 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Error codes used by GnuPG et al.".

The branch, master has been updated
       via  eec4aff343af43b09b6e4f4ef786bd7f0511a42c (commit)
      from  27ffbcf63cf4e0cf87d0f4012735f709e215d5cb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit eec4aff343af43b09b6e4f4ef786bd7f0511a42c
Author: Diego Elio Pettenò <flameeyes at flameeyes.eu>
Date:   Thu Sep 22 15:45:11 2011 +0200

    gpg-error-config: handle /usr/lib64, /lib64 just like /usr/lib and /lib
    
    Distributions such as Gentoo Linux use /usr/lib64 for system libraries on
    multilib setups, so in those cases, ignore the libraries as well.
    
    Signed-off-by: Diego Elio Pettenò <flameeyes at flameeyes.eu>

diff --git a/src/gpg-error-config.in b/src/gpg-error-config.in
index 14f0625..df27f0a 100644
--- a/src/gpg-error-config.in
+++ b/src/gpg-error-config.in
@@ -69,9 +69,12 @@ while test $# -gt 0; do
 	    output="$output @GPG_ERROR_CONFIG_CFLAGS@"
 	    ;;
 	--libs)
-	    if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/lib"; then
-		output="$output -L$libdir"
-	    fi
+	    case "$libdir" in
+		/usr/lib|/usr/lib64|/lib|/lib64) ;;
+		*)
+		    output="$output -L$libdir"
+		    ;;
+	    esac
 	    output="$output @GPG_ERROR_CONFIG_LIBS@"
 	    ;;
         --host)

-----------------------------------------------------------------------

Summary of changes:
 src/gpg-error-config.in |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Error codes used by GnuPG et al.
http://git.gnupg.org




More information about the Gnupg-commits mailing list