automake
[Top][All Lists]
Advanced

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

Re: how to install library in a specific directory?


From: William Pursell
Subject: Re: how to install library in a specific directory?
Date: Thu, 23 Jul 2009 09:44:08 -0500
User-agent: Thunderbird 2.0.0.22 (Macintosh/20090605)

bonami wrote:
>   I have two projects. One generates a shared library and the other uses it. 
> The library is to be installed in /usr/local/lib/ezproject,
<snip>
>
>   ezcommon's Makefile.am,
> lib_LTLIBRARIES = libezcommon.la
> libdir = $(exec_prefix)/lib/ezproject

This is a bad idea.  The project maintainer should not be
deciding where the user must install the library.  If
the user wants to install ezproject in /opt/ezproject, he
should to be able to do 'configure --libdir=/opt/ezproject/lib',
but your setup will not allow that.

-- 
William Pursell




reply via email to

[Prev in Thread] Current Thread [Next in Thread]