mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
make: config -- Link with GnuTLS
There are two notable open-source libraries that provide TLS implementation - OpenSSL and GnuTLS. The license of OpenSSL is incompatible with CRIU's license, and threfore GnuTLS is the recommended choice. GnuTLS offers an API to access secure communication protocols. These protocols provide privacy over insecure lines, and are designed to prevent eavesdropping, tampering or message forgery. Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
This commit is contained in:
parent
ffec568034
commit
b7230b6132
1 changed files with 8 additions and 0 deletions
|
|
@ -15,6 +15,14 @@ ifeq ($(call pkg-config-check,libselinux),y)
|
|||
FEATURE_DEFINES += -DCONFIG_HAS_SELINUX
|
||||
endif
|
||||
|
||||
ifeq ($(NO_GNUTLS)x$(call pkg-config-check,gnutls),xy)
|
||||
LIBS_FEATURES += -lgnutls
|
||||
export CONFIG_GNUTLS := y
|
||||
FEATURE_DEFINES += -DCONFIG_GNUTLS
|
||||
else
|
||||
$(info Note: Building without GnuTLS support)
|
||||
endif
|
||||
|
||||
export LIBS += $(LIBS_FEATURES)
|
||||
|
||||
CONFIG_FILE = .config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue