[users] _libdir macro variable
Todd Lyons
tlyons at ivenue.com
Fri Nov 16 18:32:53 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, Nov 15, 2007 at 04:11:43PM -0600, Ross Marshall wrote:
> Where does rpmbuild get the info for _libdir?
To check and see what it evaluates to:
[rpmbuild at telesto ~]$ rpm --eval '%_libdir'
/usr/lib
To see how it's constructed:
rpmbuild at telesto ~]$ egrep '^%_libdir' /usr/lib/rpm/i386-linux/macros
%_libdir %{_exec_prefix}/%{_lib}
[rpmbuild at telesto ~]$ egrep '^%_exec_prefix' /usr/lib/rpm/i386-linux/macros
%_exec_prefix %{_prefix}
[rpmbuild at telesto ~]$ egrep '^%_prefix' /usr/lib/rpm/i386-linux/macros
%_prefix /usr
So you'll want to go take a look at:
/usr/lib/rpm/macros
and
/usr/lib/rpm/i386-linux/macros (if you're building i386 rpms)
/usr/lib/rpm/x86_64-linux/macros if you're building x86_64 rpms)
- --
Regards... Todd
Any errors in spelling, tact or fact are transmission errors
--Dag Wieers
Linux kernel 2.6.22.9-desktop-1mdv 2 users, load average: 0.00, 0.06, 0.10
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHPdRFY2VBGxIDMLwRAmmBAJ9g9Vzoe4Ck8smqUPyZmNIRuoyc+ACdFObC
HWv0aG39KFP+L4bwVgkbAgM=
=W30a
-----END PGP SIGNATURE-----
More information about the users
mailing list