* [Buildroot] [PATCH] mbedtls: fix companion programs static build
@ 2016-04-12 18:46 Baruch Siach
2016-05-28 17:22 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach @ 2016-04-12 18:46 UTC (permalink / raw)
To: buildroot
Set LINK_WITH_PTHREAD to explicitly add pthread to the list of libraries.
Fixes:
http://autobuild.buildroot.net/results/e08/e087dfa2a6057b18209cd6adff2760026a9ca1db/
http://autobuild.buildroot.net/results/615/61565f1a88b7d6eea03a355ccf8dd3fe6585c4ab/
http://autobuild.buildroot.net/results/6b2/6b267b9cba37655e7d8e6d78821f96d9a8dd7d2e/
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
package/mbedtls/mbedtls.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/mbedtls/mbedtls.mk b/package/mbedtls/mbedtls.mk
index fe166e21f4db..994a3f40a808 100644
--- a/package/mbedtls/mbedtls.mk
+++ b/package/mbedtls/mbedtls.mk
@@ -23,6 +23,9 @@ define MBEDTLS_ENABLE_THREADING
$(@D)/include/mbedtls/config.h
endef
MBEDTLS_POST_PATCH_HOOKS += MBEDTLS_ENABLE_THREADING
+ifeq ($(BR2_STATIC_LIBS),y)
+MBEDTLS_CONF_OPTS += -DLINK_WITH_PTHREAD=ON
+endif
endif
ifeq ($(BR2_STATIC_LIBS),y)
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] mbedtls: fix companion programs static build
2016-04-12 18:46 [Buildroot] [PATCH] mbedtls: fix companion programs static build Baruch Siach
@ 2016-05-28 17:22 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-05-28 17:22 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 12 Apr 2016 21:46:00 +0300, Baruch Siach wrote:
> Set LINK_WITH_PTHREAD to explicitly add pthread to the list of libraries.
>
> Fixes:
> http://autobuild.buildroot.net/results/e08/e087dfa2a6057b18209cd6adff2760026a9ca1db/
> http://autobuild.buildroot.net/results/615/61565f1a88b7d6eea03a355ccf8dd3fe6585c4ab/
> http://autobuild.buildroot.net/results/6b2/6b267b9cba37655e7d8e6d78821f96d9a8dd7d2e/
>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> package/mbedtls/mbedtls.mk | 3 +++
> 1 file changed, 3 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-28 17:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-12 18:46 [Buildroot] [PATCH] mbedtls: fix companion programs static build Baruch Siach
2016-05-28 17:22 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox