All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/cmocka: Ensure we always build static libs
@ 2023-05-03  2:39 Alistair Francis
  2023-05-13 16:09 ` Yann E. MORIN
  0 siblings, 1 reply; 4+ messages in thread
From: Alistair Francis @ 2023-05-03  2:39 UTC (permalink / raw)
  To: buildroot; +Cc: Alistair Francis

Some packages that use cmocka as a dependency will link against the
static libs, so let's build them by default.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
---
 package/cmocka/cmocka.mk | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/package/cmocka/cmocka.mk b/package/cmocka/cmocka.mk
index eafb4898e1..e21296921d 100644
--- a/package/cmocka/cmocka.mk
+++ b/package/cmocka/cmocka.mk
@@ -15,10 +15,6 @@ CMOCKA_CONF_OPTS = -DWITH_EXAMPLES=OFF
 # cmocka only supports out of source builds
 CMOCKA_SUPPORTS_IN_SOURCE_BUILD = NO
 
-# cmocka always builds a shared library, but you can optionally build a static
-# library as well
-ifeq ($(BR2_SHARED_STATIC_LIBS),y)
 CMOCKA_CONF_OPTS += -DWITH_STATIC_LIB=ON
-endif
 
 $(eval $(cmake-package))
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-21 15:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-03  2:39 [Buildroot] [PATCH] package/cmocka: Ensure we always build static libs Alistair Francis
2023-05-13 16:09 ` Yann E. MORIN
2023-05-17  4:58   ` Alistair Francis
2023-05-21 15:40     ` Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.