[poky] Is the grammar of .la files changed in new libtool 2.4?
Khem Raj
raj.khem at gmail.com
Tue Jan 25 22:43:55 PST 2011
On (26/01/11 13:56), Lu, Lianhao wrote:
> Hi Scott,
>
> I'm wondering whether the grammar of the .la files generated by new libtool 2.4 is different from the old ones. Take the file libxcb-res.la generated by libxcb for example, it contains a line:
>
> dependency_libs=' =/usr/lib/libxcb.la =/usr/lib/libXau.la'
>
> While in the old libxcb.la file, this line appeared to be
>
> dependency_libs=' /usr/lib/libxcb.la /usr/lib/libxcb.la'
>
> Is the "=" a new grammar for liblool 2.4?
yes its new and it means that sysroot will be prepended to this when
resolving
Because in meta-toolchain, it needs to fix these .la files by replacing all the "/usr/lib" to "${SDKTARGETSYSROOT}/usr/lib", etc. This new "=" causes the original regular expression not work.
>
> b.t.w. Do we still need the code in meta-toolchain to fix broken .la files? According to my understanding, the new sysroot support in libtool 2.4 should solve this problem, right? Thanks!
>
> Best Regards,
> - Lianhao Lu
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
More information about the poky
mailing list