|
* Currently libtool adds -L/usr/lib to the link command which directs
linker to pull from /usr/lib. Many distro's dont have stuff which is
conflicting in /usr/lib with the target libraries but some do. Like
archlinux has libgcc_s.so.1 in /usr/lib due to the above -L it gets
picked over the target libgcc and the link command fails. -L/usr/lib
is generated by libtool when it sees -rpath /usr/lib which may be not
the right think when doing cross native builds.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|