|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 1/2] Better support for distros using /lib64 directories |
Date: | Mon, 31 Oct 2011 11:04:26 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 |
On 10/30/2011 05:51 PM, Saggi Mizrahi wrote:
Some distributions use lib64 directories for 64 bit libraries. Currently configure would always generate libdir as $PREFIX/lib. By checking if the current distro has a /lib64 directory we can assume it is using this convention.
This doesn't work if people compile a 32-bit version of QEMU. The right directory could be obtained with "gcc --print-multi-os-directory $CFLAGS", but I'm not sure whether it is a good thing to do. We should try to avoid gratuitous differences from Autoconf.
The right thing to do would be to tweak the command-line supported by configure to the point that packagers can just use the same command-line that Autoconf uses (in RPM parlance that would be "%configure").
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |