pkg-infra: munging .la files is not limited to autotools packages
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 3 May 2015 21:30:39 +0000 (23:30 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 19 Jul 2015 09:53:01 +0000 (11:53 +0200)
commit67f8138a46388f28d00dc8711b64d04ac7ebb464
tree836ebaf9903d1396b926173610295eacd9cf710b
parenta9f99c61aa3e56073d1fcfe20d68151f074f9838
pkg-infra: munging .la files is not limited to autotools packages

Currently, we're only fixing libtool's .la files for autotools packages,
and even more so, only for those that do not define their own
_INSTALL_STAGING_CMDS.

However, .la files might also be installed by non-autotools packages,
like the NVidia GPU binary blob (libGL.la).

So, move that code into the global build rule, so all packages get their
.la files fixed, whether they be autotools packages or not, and whether
they define their own _INSTALL_STAGING_CMDS or not.

Also print a message.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pkg-autotools.mk
package/pkg-generic.mk