[oe] [RFC] AMD64 and multilib support
Stanislav Brabec
utx at penguin.cz
Wed Apr 15 13:32:56 UTC 2009
Stanislav Brabec wrote:
> >Next thing is 'libexec' dir. I propose to set it to point to libdir and be
> >done with that
This is bad, because it forces duplicating of all libexec binaries in
the system.
Imagine that you have a library libfoo for both archs:
/usr/lib/libfoo.so.0 (32 bit)
/usr/lib64/libfoo.so.0 (64 bit)
Now your library needs to call binary ${libexecdir}/libfoo-helper.
If you set libexec to libdir, then you are forced to package libfoo
helper twice. Both do _exactly_ the same:
/usr/lib/libfoo-helper (32 bit instance for 32 bit library)
/usr/lib64/libfoo-helper (64 bit instance for 64 bit library)
libexecdir pointing to prefix/lib is much better:
/usr/lib/libfoo-helper (64 bit instance for both libraries)
Both 32 bit and 64 bit libfoo will use this helper.
--
Best Regards / S pozdravem,
Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec at suse.cz
Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
More information about the Openembedded-devel
mailing list