f622944bc8
libressl dropped engine support since version 3.8.1 resulting in the
following build failure since bump of libressl to version 3.8.2 in
commit 21eca49ed5
:
eng_front.c: In function 'IMPLEMENT_DYNAMIC_CHECK_FN':
eng_front.c:262:1: error: expected declaration specifiers before 'IMPLEMENT_DYNAMIC_BIND_FN'
262 | IMPLEMENT_DYNAMIC_BIND_FN(bind_fn)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/389ed112f082a4917f777f3e236211059c4c6d6e
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
27 lines
887 B
Makefile
27 lines
887 B
Makefile
################################################################################
|
|
#
|
|
# libp11
|
|
#
|
|
################################################################################
|
|
|
|
LIBP11_VERSION = 0.4.12
|
|
LIBP11_SITE = https://github.com/OpenSC/libp11/releases/download/libp11-$(LIBP11_VERSION)
|
|
LIBP11_DEPENDENCIES = openssl host-pkgconf
|
|
LIBP11_INSTALL_STAGING = YES
|
|
LIBP11_LICENSE = LGPL-2.1+
|
|
LIBP11_LICENSE_FILES = COPYING
|
|
|
|
# pkg-config returns a libcrypto enginesdir prefixed with the sysroot,
|
|
# so let's rip it out.
|
|
LIBP11_CONF_OPTS = \
|
|
--with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable enginesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'`
|
|
|
|
ifeq ($(BR2_PACKAGE_P11_KIT),y)
|
|
LIBP11_CONF_OPTS += --with-pkcs11-module=/usr/lib/p11-kit-proxy.so
|
|
endif
|
|
|
|
HOST_LIBP11_DEPENDENCIES = host-pkgconf host-openssl
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|