From: Baruch Siach Date: Tue, 24 Apr 2018 11:14:43 +0000 (+0300) Subject: lz4: disable static library on shared only X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1667fe58106aa5bdb63e0c8db2e34c605947464a;p=buildroot.git 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 --- 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