[poky] Is the grammar of .la files changed in new libtool 2.4?

Lu, Lianhao lianhao.lu at intel.com
Tue Jan 25 21:56:52 PST 2011


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? 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



More information about the poky mailing list