openssl: Check and link against libeay32 instead of libcrypto on Windows

Most Windows OpenSSL builds come with the crypto library named libeay32.
This commit is contained in:
Martin Willi
2014-06-04 15:53:02 +02:00
parent f3c809e615
commit b7a4d44bd0
2 changed files with 13 additions and 4 deletions
@@ -32,4 +32,4 @@ libstrongswan_openssl_la_SOURCES = \
openssl_gcm.c openssl_gcm.h
libstrongswan_openssl_la_LDFLAGS = -module -avoid-version
libstrongswan_openssl_la_LIBADD = -lcrypto
libstrongswan_openssl_la_LIBADD = $(OPENSSL_LIB)