aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2018-04-24 14:14:43 +0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-25 15:29:55 +0200
commit1667fe58106aa5bdb63e0c8db2e34c605947464a (patch)
tree542a246ee928718f3b3a8a1e26a9879e886e1bb9 /package
parentf5b14df1104c66a12b1203620afcf9bcb4ff22c5 (diff)
downloadbuildroot-1667fe58106aa5bdb63e0c8db2e34c605947464a.tar.gz
buildroot-1667fe58106aa5bdb63e0c8db2e34c605947464a.tar.bz2
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>
Diffstat (limited to 'package')
-rw-r--r--package/lz4/lz4.mk2
1 files changed, 2 insertions, 0 deletions
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