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-05-07 09:19:27 +02:00
parent b6fcdc71a6
commit db772305c6
+3 -4
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