7.115. remove-libtool.bbclass

The remove-libtool class adds a post function to the do_install task to remove all .la files installed by libtool. Removing these files results in them being absent from both the sysroot and target packages.

If a recipe needs the .la files to be installed, then the recipe can be overridden by setting the REMOVE_LIBTOOL_LA variable.

Note

The remove-libtool class is not enabled by default.