[PATCH] Get library installation path for target architecture
Mike Frysinger
vapier at gentoo.org
Thu Mar 23 23:55:13 UTC 2006
On Thursday 23 March 2006 17:12, Pavel Roskin wrote:
> Since Rules.mak exports CC, it could be used to find the library path.
> "gcc -print-file-name=libc.so" would print path to libc.so, and the last
> part of path before libc.so is what we need. For safety reasons, only
> paths starting with "lib" are matched. In case the compiler fails to
> produce something we recognize, /lib is the default value.
the current code is a hack ... the proposed solution is a hack ... i say we
just make it a config option, default it to 'lib', and then make the user
override it if 'lib' rubs them the wrong way
there is no consensus yet (if there ever will be) as to what the "correct"
location is on any system, whether it be multilib or not
-mike
More information about the busybox
mailing list