package/hiredis: ssl needs threads
PATCH 1/1 package/hiredis: ssl needs threads
ssl support which has been added in version 1.0.0 needs threads:
/home/buildroot/autobuild/instance-3/output-1/build/hiredis-1.0.0/ssl.c:42:10: fatal error: pthread.h: No such file or directory
#include <pthread.h>
^~~~~~~~~~~Fixes:
- http://autobuild.buildroot.org/results/80ac7500055d167e5ec9a964046de7cca4b4f9f5
Signed-off-by Fabrice Fontaine <[email protected]>
--- package/hiredis/hiredis.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/hiredis/hiredis.mk +1 -1
@@ -12,7 +12,7 @@ HIREDIS_LICENSE_FILES = COPYING HIREDIS_INSTALL_STAGING = YES HIREDIS_CONF_OPTS = -DDISABLE_TESTS=ON -ifeq ($(BR2_PACKAGE_OPENSSL),y) +ifeq ($(BR2_PACKAGE_OPENSSL)$(BR2_TOOLCHAIN_HAS_THREADS),yy) HIREDIS_CONF_OPTS += -DENABLE_SSL=ON HIREDIS_DEPENDENCIES += openssl else
Signature · 1 line
2.28.0
Thomas Petazzoni
AppliedPATCH 1/1 package/hiredis: ssl needs threads
Quoted 6 lines · On Sat, 5 Sep 2020 13:07:03 +0200 Fabrice Fontaine…
ssl support which has been added in version 1.0.0 needs threads:
/home/buildroot/autobuild/instance-3/output-1/build/hiredis-1.0.0/ssl.c:42:10: fatal error:pthread.h: No such file or directory#include <pthread.h> ^~~~~~~~~~~
Quoted 7 lines
Fixes:
- http://autobuild.buildroot.org/results/80ac7500055d167e5ec9a964046de7cca4b4f9f5Signed-off-by Fabrice Fontaine <[email protected]>--- package/hiredis/hiredis.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com