package/libp11: select BR2_PACKAGE_LIBOPENSSL_ENGINES

libp11 unconditionally calls the (deprecated) ENGINE_* logic in
libopenssl resulting in a build failure when
!BR2_PACKAGE_LIBOPENSSL_ENGINES since commit
623d3bbe43:

eng_front.c:25:2: error: #error did not get engine.h
   25 | #error did not get engine.h
      |  ^~~~~

Fixes: 623d3bbe43
 - http://autobuild.buildroot.org/results/b03cc27a60f9e6794b3341517196fbf8dc3ec2d4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine
2024-07-21 21:47:39 +02:00
committed by Arnout Vandecappelle
parent a1bd5b31f2
commit f807855b4d

View File

@@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBP11
bool "libp11"
depends on !BR2_STATIC_LIBS # dlopen
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_LIBOPENSSL_ENGINES
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
help