|
From: | Ralf Corsepius |
Subject: | Re: About libdir for 64-bit |
Date: | Wed, 17 Jul 2013 04:43:23 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 |
On 07/16/2013 11:23 AM, Sergio Belkin wrote:
Hi, I have a configure.ac with following: AS_CASE([$host], [x86_64*|sparc64*|s390x*|ppc64*], [libdir=$prefix/lib64], [libdir=$prefix/lib]) I'done it in order to make easy the install of package and choose the libdir according to arch. But I've found that I can't override if I run ./configure llibdir=/whatever and even distros like Debian put libraries in /usr/lib//x86_64-linux-gnu is there a way to fix it?
Yes. Drop all the magic above and leave setting libdir to the user ;) Your approach is based on invalid assumptions and lacks generality. Ralf
[Prev in Thread] | Current Thread | [Next in Thread] |