Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] musl: Honor BR2_STATIC_LIBS / BR2_SHARED_LIBS
@ 2015-10-14  4:29 Charles Duffy
  2015-10-14 21:35 ` Thomas Petazzoni
  2015-10-18 13:09 ` Thomas Petazzoni
  0 siblings, 2 replies; 10+ messages in thread
From: Charles Duffy @ 2015-10-14  4:29 UTC (permalink / raw)
  To: buildroot

From: Charles Duffy <charles@dyfis.net>

Signed-off-by: Charles Duffy <chaduffy@cisco.com>
---
 package/musl/musl.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/musl/musl.mk b/package/musl/musl.mk
index 22589f5..aca78ab 100644
--- a/package/musl/musl.mk
+++ b/package/musl/musl.mk
@@ -28,7 +28,9 @@ define MUSL_CONFIGURE_CMDS
 			--host=$(GNU_TARGET_NAME) \
 			--prefix=/usr \
 			--libdir=/lib \
-			--disable-gcc-wrapper)
+			--disable-gcc-wrapper \
+			$(if $(BR2_STATIC_LIBS),--disable-shared) \
+			$(if $(BR2_SHARED_LIBS),--disable-static))
 endef
 
 define MUSL_BUILD_CMDS
-- 
2.0.0

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

end of thread, other threads:[~2015-10-18 19:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-14  4:29 [Buildroot] [PATCH 1/1] musl: Honor BR2_STATIC_LIBS / BR2_SHARED_LIBS Charles Duffy
2015-10-14 21:35 ` Thomas Petazzoni
2015-10-14 22:23   ` Charles Duffy
2015-10-15  7:38     ` Thomas Petazzoni
2015-10-18 13:09 ` Thomas Petazzoni
2015-10-18 15:58   ` Yann E. MORIN
2015-10-18 16:18     ` Charles Duffy
2015-10-18 16:33       ` Thomas Petazzoni
2015-10-18 18:52         ` Yann E. MORIN
2015-10-18 19:06         ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox