All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/xml-security-c: needs threads
@ 2022-01-28 17:30 Fabrice Fontaine
  2022-02-12 13:10 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-01-28 17:30 UTC (permalink / raw)
  To: buildroot; +Cc: Matt Weber, Fabrice Fontaine

Add threads dependency to avoid the following build failure raised since
bump to version 2.0.4 in commit
27d08083ed4db5bd055219574cc602aaf8053a49:

configure: error: unable to find pthreads, currently this is required

Fixes:
 - http://autobuild.buildroot.org/results/b6065efaa722f2da911c7cf150d446da621e8c71

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/xml-security-c/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/package/xml-security-c/Config.in b/package/xml-security-c/Config.in
index 02544d5a01..c7963be69a 100644
--- a/package/xml-security-c/Config.in
+++ b/package/xml-security-c/Config.in
@@ -4,6 +4,7 @@ config BR2_PACKAGE_XML_SECURITY_C
 	depends on !BR2_STATIC_LIBS # xerces
 	depends on BR2_USE_WCHAR # xerces
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
+	depends	on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_XERCES
@@ -13,6 +14,7 @@ config BR2_PACKAGE_XML_SECURITY_C
 
 	  https://santuario.apache.org/cindex.html
 
-comment "xml-security-c needs a toolchain w/ C++, wchar, dynamic library, gcc >= 4.7"
+comment "xml-security-c needs a toolchain w/ C++, wchar, dynamic library, threads, gcc >= 4.7"
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-		BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
+		BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
+		!BR2_TOOLCHAIN_HAS_THREADS
-- 
2.34.1

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

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

* Re: [Buildroot] [PATCH 1/1] package/xml-security-c: needs threads
  2022-01-28 17:30 [Buildroot] [PATCH 1/1] package/xml-security-c: needs threads Fabrice Fontaine
@ 2022-02-12 13:10 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2022-02-12 13:10 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot; +Cc: Matt Weber



On 28/01/2022 18:30, Fabrice Fontaine wrote:
> Add threads dependency to avoid the following build failure raised since
> bump to version 2.0.4 in commit
> 27d08083ed4db5bd055219574cc602aaf8053a49:
> 
> configure: error: unable to find pthreads, currently this is required
> 
> Fixes:
>   - http://autobuild.buildroot.org/results/b6065efaa722f2da911c7cf150d446da621e8c71
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/xml-security-c/Config.in | 6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/package/xml-security-c/Config.in b/package/xml-security-c/Config.in
> index 02544d5a01..c7963be69a 100644
> --- a/package/xml-security-c/Config.in
> +++ b/package/xml-security-c/Config.in
> @@ -4,6 +4,7 @@ config BR2_PACKAGE_XML_SECURITY_C
>   	depends on !BR2_STATIC_LIBS # xerces
>   	depends on BR2_USE_WCHAR # xerces
>   	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
> +	depends	on BR2_TOOLCHAIN_HAS_THREADS
>   	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
>   	select BR2_PACKAGE_OPENSSL
>   	select BR2_PACKAGE_XERCES
> @@ -13,6 +14,7 @@ config BR2_PACKAGE_XML_SECURITY_C
>   
>   	  https://santuario.apache.org/cindex.html
>   
> -comment "xml-security-c needs a toolchain w/ C++, wchar, dynamic library, gcc >= 4.7"
> +comment "xml-security-c needs a toolchain w/ C++, wchar, dynamic library, threads, gcc >= 4.7"
>   	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
> -		BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
> +		BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
> +		!BR2_TOOLCHAIN_HAS_THREADS
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-02-12 13:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-28 17:30 [Buildroot] [PATCH 1/1] package/xml-security-c: needs threads Fabrice Fontaine
2022-02-12 13:10 ` Arnout Vandecappelle

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.