mbedtls: fix companion programs static build
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> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
33499484e4
commit
115e5ae9c9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user