Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] php-amqp: selects openssl
@ 2018-06-03 19:31 Fabrice Fontaine
  2018-06-04  2:32 ` Baruch Siach
  2018-06-04  4:59 ` Thomas Petazzoni
  0 siblings, 2 replies; 10+ messages in thread
From: Fabrice Fontaine @ 2018-06-03 19:31 UTC (permalink / raw)
  To: buildroot

php-amqp needs a rabbitmq-c with openssl support:
https://github.com/pdezwart/php-amqp/issues/310

Fixes:
 - http://autobuild.buildroot.net/results/b7c89bbbd0ca1df08dd7cbfc90c7b45dcf1fad05

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

diff --git a/package/php-amqp/Config.in b/package/php-amqp/Config.in
index 0aa2021f5a..cf32ec10b2 100644
--- a/package/php-amqp/Config.in
+++ b/package/php-amqp/Config.in
@@ -1,12 +1,14 @@
 config BR2_PACKAGE_PHP_AMQP
 	bool "php-amqp"
 	depends on BR2_PACKAGE_PHP
+	depends on !BR2_STATIC_LIBS # rabbitmq-c: amqp_ssl_socket.h
 	depends on BR2_TOOLCHAIN_HAS_THREADS # rabbitmq-c
+	select BR2_PACKAGE_OPENSSL # rabbitmq-c: amqp_ssl_socket.h
 	select BR2_PACKAGE_RABBITMQ_C
 	help
 	  Communicate with any AMQP compliant server.
 
 	  http://pecl.php.net/package/amqp
 
-comment "php-amqp needs a toolchain w/ threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "php-amqp needs a toolchain w/ dynamic library, threads"
+	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
-- 
2.14.1

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

end of thread, other threads:[~2018-06-04 22:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-03 19:31 [Buildroot] [PATCH 1/1] php-amqp: selects openssl Fabrice Fontaine
2018-06-04  2:32 ` Baruch Siach
2018-06-04  5:30   ` Fabrice Fontaine
2018-06-04  5:43     ` Baruch Siach
2018-06-04 16:50       ` Fabrice Fontaine
2018-06-04 17:07         ` Thomas Petazzoni
2018-06-04  4:59 ` Thomas Petazzoni
2018-06-04  5:25   ` Fabrice Fontaine
2018-06-04 10:12     ` Thomas Petazzoni
2018-06-04 22:25       ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox