[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: building 32bit and 64bit libs with the same name
From: |
Ralf Corsepius |
Subject: |
Re: building 32bit and 64bit libs with the same name |
Date: |
Tue, 08 Nov 2005 12:35:50 +0100 |
On Tue, 2005-11-08 at 08:15 +0100, Harald Dunkel wrote:
> Hi folks,
>
> I would like to build 32bit and 64bit libraries within the
> same Makefile.am. In the install directory tree the libs
> should get the same name, but the 64bit library is supposed
> to be installed in ${exec_prefix}/lib64, of course.
>
> Obviously automake can't distinguish libraries in the
> build directory using the destination directory name.
> What is your suggested way to handle this "in the
> Automake style"?
You either want to add multilib-support (cf. AM_ENABLE_MULTILIB,
config-ml.in) to your configuration or leave this case to the user (i.e.
let him build the package twice, with different CFLAGS and directories)
Ralf