[Buildroot] [PATCH v5 11/19] infra-libtool: pass sysroot information to libtool

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Mar 20 21:52:50 UTC 2017


Hello,

On Tue, 20 Dec 2016 14:46:28 +0100, Jérôme Pouiller wrote:

> libtool include support for cross-compilation since v1.5.

Are you sure this is true?

In the release notes of libtool v2.4
(https://savannah.gnu.org/forum/forum.php?forum_id=6525), I see:

"""


New in 2.4 2010-09-22:

    New features:

- Sysroot support. This allows you to build cross-compiled packages
with the same prefix that will be used on the destination machine,
and still find dependent libraries under the compiler's "sysroot".
Without sysroot support, paths internal to the build system may leak
into the product of the build.

Sysroot support is disabled unless the --with-sysroot configure
option is passed to configure, because .la files generated with
sysroot support will not be usable in general with older Libtools. 

"""

So are you sure that this feature didn't appear in libtool 2.4 ?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list