mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00: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)
|
ifeq ($(BR2_STATIC_LIBS),y)
|
||||||
LZ4_MAKE_OPTS += BUILD_SHARED=no
|
LZ4_MAKE_OPTS += BUILD_SHARED=no
|
||||||
|
else ifeq ($(BR2_SHARED_LIBS),y)
|
||||||
|
LZ4_MAKE_OPTS += BUILD_STATIC=no
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define HOST_LZ4_BUILD_CMDS
|
define HOST_LZ4_BUILD_CMDS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user