mirror of
https://git.busybox.net/buildroot.git
synced 2025-01-10 06:23:38 +08:00
lz4: disable static library on shared only
Don't build the static library when BR2_SHARED_LIBS=y, to reduce build time. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
f5b14df110
commit
1667fe5810
@ -12,6 +12,8 @@ LZ4_LICENSE_FILES = lib/LICENSE programs/COPYING
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
LZ4_MAKE_OPTS += BUILD_SHARED=no
|
||||
else ifeq ($(BR2_SHARED_LIBS),y)
|
||||
LZ4_MAKE_OPTS += BUILD_STATIC=no
|
||||
endif
|
||||
|
||||
define HOST_LZ4_BUILD_CMDS
|
||||
|
Loading…
Reference in New Issue
Block a user