xfrmi: Only build if libcharon is built

The kernel-netlink plugin is only built if libcharon is.

Closes strongswan/strongswan#167.
This commit is contained in:
Tobias Brunner 2020-04-14 10:44:19 +02:00
parent b6fcdc71a6
commit db772305c6
1 changed files with 3 additions and 4 deletions

View File

@ -42,6 +42,9 @@ endif
if USE_LIBCHARON
SUBDIRS += libcharon
if USE_KERNEL_NETLINK
SUBDIRS += xfrmi
endif
endif
if USE_FILE_CONFIG
@ -143,7 +146,3 @@ endif
if USE_TPM
SUBDIRS += tpm_extendpcr
endif
if USE_KERNEL_NETLINK
SUBDIRS += xfrmi
endif