mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
package/pkcs11-helper: fix build without threads
Use --{en,dis}able-{threading,slotevent} to fix build without threads
Fixes:
- http://autobuild.buildroot.org/results/d6eefca3ab1fb86e148e998238eed1df2310775f
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: move earlier; use single-line assignments]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
f2575170cf
commit
0199dc1617
@@ -16,6 +16,12 @@ PKCS11_HELPER_CONF_OPTS = \
|
||||
--disable-crypto-engine-polarssl \
|
||||
--disable-crypto-engine-cryptoapi
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
PKCS11_HELPER_CONF_OPTS += --enable-slotevent --enable-threading
|
||||
else
|
||||
PKCS11_HELPER_CONF_OPTS += --disable-slotevent --disable-threading
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
||||
PKCS11_HELPER_DEPENDENCIES += gnutls
|
||||
PKCS11_HELPER_CONF_OPTS += --enable-crypto-engine-gnutls
|
||||
|
||||
Reference in New Issue
Block a user