Re: [PATCH 2/2] build-sys: add lib32 definition

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

 



On Sun, Jul 12, 2009 at 12:44:09AM +0200, Robert Förster wrote:
> -# lib64
> +# lib64 and lib32
>  case ${libdir} in
>    *lib64) libdirname=lib64 ;;
> +  *lib32) libdirname=lib32 ;;
>    *) libdirname=lib
>  esac

 I have applied the patch below. 

    Karel

 
From: Karel Zak <kzak@xxxxxxxxxx>
Date: Mon, 13 Jul 2009 11:54:43 +0200
Subject: [PATCH] build-sys: improve $libdirname definition

Reported-by: Robert Förster <Dessa@xxxxxxxx>
Signed-off-by: Karel Zak <kzak@xxxxxxxxxx>
---
 configure.ac |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index eaca506..f352f88 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,11 +42,7 @@ NONE:NONE | NONE:/usr | /usr:*)
   esac ;;
 esac
 
-# lib64
-case ${libdir} in
-  *lib64) libdirname=lib64 ;;
-  *) libdirname=lib
-esac
+libdirname=`basename "$libdir"`
 AC_SUBST([libdirname])
 
 # The original default values of {bin,sbin,lib}dir
-- 
1.6.2.2


--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux