All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] libpjsip: needs threads
@ 2016-03-07 21:56 Luca Ceresoli
  2016-03-07 21:56 ` [Buildroot] [PATCH 2/2] libpjsip: fix optional dependency on libsrtp Luca Ceresoli
  2016-03-08 20:14 ` [Buildroot] [PATCH 1/2] libpjsip: needs threads Thomas Petazzoni
  0 siblings, 2 replies; 5+ messages in thread
From: Luca Ceresoli @ 2016-03-07 21:56 UTC (permalink / raw)
  To: buildroot

Builds without thread support fail with the following error:

  ../src/pj/os_core_unix.c:45:21: fatal error: pthread.h: No such file or directory
   #include <pthread.h>
                       ^
  compilation terminated.

Fixes:
  http://autobuild.buildroot.org/results/744/744431e1b47d22222c4d0b48d5d20649dfeed929/
  http://autobuild.buildroot.org/results/a10/a10aca9139054502e055cb61f3925637fc515e12/

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
 package/libpjsip/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/libpjsip/Config.in b/package/libpjsip/Config.in
index 45387c4b39b9..980fada3d5fb 100644
--- a/package/libpjsip/Config.in
+++ b/package/libpjsip/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBPJSIP
 	bool "libpjsip"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  PJSIP is a free and open source multimedia communication
 	  library written in C language implementing standard based
@@ -8,5 +9,5 @@ config BR2_PACKAGE_LIBPJSIP
 
 	  http://www.pjsip.org
 
-comment "libpjsip needs a toolchain w/ C++"
-	depends on !BR2_INSTALL_LIBSTDCPP
+comment "libpjsip needs a toolchain w/ C++, threads"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
-- 
1.9.1

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

end of thread, other threads:[~2016-03-08 23:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-07 21:56 [Buildroot] [PATCH 1/2] libpjsip: needs threads Luca Ceresoli
2016-03-07 21:56 ` [Buildroot] [PATCH 2/2] libpjsip: fix optional dependency on libsrtp Luca Ceresoli
2016-03-08 20:15   ` Thomas Petazzoni
2016-03-08 23:01     ` Luca Ceresoli
2016-03-08 20:14 ` [Buildroot] [PATCH 1/2] libpjsip: needs threads Thomas Petazzoni

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.