* [Buildroot] [PATCH] lz4: disable static library on shared only
@ 2018-04-24 11:14 Baruch Siach
2018-04-25 13:42 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach @ 2018-04-24 11:14 UTC (permalink / raw)
To: buildroot
Don't build the static library when BR2_SHARED_LIBS=y, to reduce build
time.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
package/lz4/lz4.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/lz4/lz4.mk b/package/lz4/lz4.mk
index b17bc8ada90f..c5540124e920 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.17.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] lz4: disable static library on shared only
2018-04-24 11:14 [Buildroot] [PATCH] lz4: disable static library on shared only Baruch Siach
@ 2018-04-25 13:42 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-04-25 13:42 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 24 Apr 2018 14:14:43 +0300, Baruch Siach wrote:
> Don't build the static library when BR2_SHARED_LIBS=y, to reduce build
> time.
>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> package/lz4/lz4.mk | 2 ++
> 1 file changed, 2 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-25 13:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-24 11:14 [Buildroot] [PATCH] lz4: disable static library on shared only Baruch Siach
2018-04-25 13:42 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox