autoconf
[Top][All Lists]
Advanced

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

Re: pkglibdir vs. lib64


From: Pierre Wieser
Subject: Re: pkglibdir vs. lib64
Date: Sat, 21 Nov 2009 15:08:17 +0100 (CET)

----- "Eric Blake" <address@hidden> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> According to Alfred M. Szmidt on 11/21/2009 6:14 AM:
> >    I'm developping plugins that I wish install in
> >    /usr/lib/nautilus-actions or /usr/lib64/nautilus-actions
> >    depending on the platform.
> > 
> >    But pkglibdir is resolved to /usr/lib/nautilus-actions
> >    both in 32 and 64 bits environments (fedora 11, autoconf 2.63).
> > 
> > That is as intended, system libraries always go into
> > $(exec_prefix)/lib.  If you wish to install them in a different
> > directory you will need to specify so during ./configure (see
> --help
> > for available switches).
> 
> Or use a config.site file that alters $libdir according to the type
> of build being performed, when it detects that --libdir was not
> explicitly specified.  The manual has an example exactly for this
> situation, at the end of the page:
> 
> http://www.gnu.org/software/autoconf/manual/html_node/Site-Defaults.html#Site-Defaults

Thanks, I've forgotten this point.
This will fix my own problem, and it's already great ;-)
As a package maintainer, I wondered how to make more easy the
packager work - I'll just drop a comment in Makefile.am...

Thanks again
Regards
Pierre




reply via email to

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