Re: pkglibdir vs. lib64

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

 



----- "Eric Blake" <ebb9@xxxxxxx> 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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux