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