wolfssl: Use pkg-config to check for wolfSSL

The other checks trigger an automatic install of the old and incompatible
Ubuntu package on LGTM.
This commit is contained in:
Tobias Brunner
2020-01-30 17:12:05 +01:00
parent 04ce39e7c0
commit 2cb4af6696
2 changed files with 6 additions and 7 deletions
@@ -2,7 +2,8 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/src/libstrongswan
AM_CFLAGS = \
$(PLUGIN_CFLAGS)
$(PLUGIN_CFLAGS) \
$(wolfssl_CFLAGS)
if MONOLITHIC
noinst_LTLIBRARIES = libstrongswan-wolfssl.la
@@ -32,4 +33,4 @@ libstrongswan_wolfssl_la_SOURCES = \
libstrongswan_wolfssl_la_LDFLAGS = -module -avoid-version
libstrongswan_wolfssl_la_LIBADD = $(WOLFSSL_LIB)
libstrongswan_wolfssl_la_LIBADD = $(wolfssl_LIBS)