configure: Add option to link against libselinux

This commit is contained in:
Tobias Brunner
2022-04-14 18:42:01 +02:00
parent c00c5e5a35
commit fe5f27336d
3 changed files with 13 additions and 2 deletions
+3 -1
View File
@@ -132,7 +132,8 @@ library.lo : $(top_builddir)/config.status
libstrongswan_la_LIBADD = \
$(DLLIB) $(ATOMICLIB) $(BTLIB) $(SOCKLIB) \
$(RTLIB) $(BFDLIB) $(UNWINDLIB)
$(RTLIB) $(BFDLIB) $(UNWINDLIB) \
$(selinux_LIBS)
AM_CPPFLAGS = \
-I$(top_srcdir)/src/libstrongswan \
@@ -142,6 +143,7 @@ AM_CPPFLAGS = \
-DSTRONGSWAN_CONF=\"${strongswan_conf}\"
AM_CFLAGS = \
$(selinux_CFLAGS) \
@COVERAGE_CFLAGS@
AM_LDFLAGS = \