autoconf
[Top][All Lists]
Advanced

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

Re: pkglibdir vs. lib64


From: Eric Blake
Subject: Re: pkglibdir vs. lib64
Date: Sat, 21 Nov 2009 06:29:43 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----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

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksH60cACgkQ84KuGfSFAYBD0QCeKy+Q7FbfqzzX0Ieu1CFTwqNS
IL0AniuA1LvhfNVUI5o3E8yargiLXEmB
=6BsT
-----END PGP SIGNATURE-----




reply via email to

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