All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] libsepol: require threads
@ 2017-10-23 18:00 Adam Duskett
  2017-10-23 19:11 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Duskett @ 2017-10-23 18:00 UTC (permalink / raw)
  To: buildroot

libsepol 2.7 now uses pthreads.h

Signed-off-by: Adam Duskett <aduskett@gmail.com>
---
 package/libsepol/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/libsepol/Config.in b/package/libsepol/Config.in
index f92af52072..32214e4e9c 100644
--- a/package/libsepol/Config.in
+++ b/package/libsepol/Config.in
@@ -1,7 +1,11 @@
 config BR2_PACKAGE_LIBSEPOL
 	bool "libsepol"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Libsepol is the binary policy manipulation library. It doesn't
 	  depend upon or use any of the other SELinux components.
 
 	  http://selinuxproject.org/page/Main_Page
+
+comment "libsepol needs a toolchain w/ threads"
+        depends on BR2_TOOLCHAIN_HAS_THREADS
-- 
2.13.6

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

* [Buildroot] [PATCH 1/1] libsepol: require threads
  2017-10-23 18:00 [Buildroot] [PATCH 1/1] libsepol: require threads Adam Duskett
@ 2017-10-23 19:11 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2017-10-23 19:11 UTC (permalink / raw)
  To: buildroot

 Hi Adam,

On 23-10-17 20:00, Adam Duskett wrote:
> libsepol 2.7 now uses pthreads.h
> 
> Signed-off-by: Adam Duskett <aduskett@gmail.com>
> ---
>  package/libsepol/Config.in | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/libsepol/Config.in b/package/libsepol/Config.in
> index f92af52072..32214e4e9c 100644
> --- a/package/libsepol/Config.in
> +++ b/package/libsepol/Config.in
> @@ -1,7 +1,11 @@
>  config BR2_PACKAGE_LIBSEPOL
>  	bool "libsepol"
> +	depends on BR2_TOOLCHAIN_HAS_THREADS

 I believe you have been told before: when you add a dependency to a package,
you have to propagate it to the reverse dependencies of that package. In this
case libselinux, restorecond, semodule-utils. And you have to recurse to their
reverse dependencies, etc. etc.

 Regards,
 Arnout

>  	help
>  	  Libsepol is the binary policy manipulation library. It doesn't
>  	  depend upon or use any of the other SELinux components.
>  
>  	  http://selinuxproject.org/page/Main_Page
> +
> +comment "libsepol needs a toolchain w/ threads"
> +        depends on BR2_TOOLCHAIN_HAS_THREADS
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

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

end of thread, other threads:[~2017-10-23 19:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-23 18:00 [Buildroot] [PATCH 1/1] libsepol: require threads Adam Duskett
2017-10-23 19:11 ` 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.