package/zlib: allow shared-only builds
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 16 Dec 2014 21:46:58 +0000 (22:46 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 20 Dec 2014 20:55:23 +0000 (21:55 +0100)
commitbef6d517fb0a87d2564a94273815f7b3862feaf9
tree33df8d746aba7aed7cd57f39fd919fe12114664a
parent7f7dc71cc8545dacf23f9a25f33c184d15bed65c
package/zlib: allow shared-only builds

Currently, we can build a static-only zlib, but not a shared-only one.

This is because zlib's build-system is a custom ./configure (not using
autotools), and does not allow building/installing only the shared
library.

Simply remove the .a as a post-staging install hook. We don't care
removing it from target, since it is not used at link time to build
other packages, and it is anyway removed later before assembling the
filesystem images anyway.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/zlib/zlib.mk