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