From 1667fe58106aa5bdb63e0c8db2e34c605947464a Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Tue, 24 Apr 2018 14:14:43 +0300 Subject: [PATCH] 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 Signed-off-by: Thomas Petazzoni --- package/lz4/lz4.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/lz4/lz4.mk b/package/lz4/lz4.mk index b17bc8ada9..c5540124e9 100644 --- a/package/lz4/lz4.mk +++ b/package/lz4/lz4.mk @@ -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 -- 2.30.2