lz4: improve static only build support
authorBaruch Siach <baruch@tkos.co.il>
Fri, 20 Apr 2018 04:52:46 +0000 (07:52 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 20 Apr 2018 06:40:24 +0000 (08:40 +0200)
commitf7c8cd89c9da27dfdf60407e38ed4450fe8af713
tree147cf5a60d88987cff55722a52154f4b672af176
parentf97bbcd5f6c981cc18a09b72832e973ff43aa33e
lz4: improve static only build support

The current method of supporting static only build, removal of all lines
that match the SHARED regex from lib/Makefile, is crude and fragile.
Instead, patch lib/Makefile to allow disable of shared libraries.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/lz4/0002-lib-allow-to-disable-shared-libraries.patch [new file with mode: 0644]
package/lz4/lz4.mk