link against openssl crypto library only

This commit is contained in:
Martin Willi 2008-06-06 08:04:42 +00:00
parent 1e5522ffd7
commit e581a31d6a
2 changed files with 2 additions and 2 deletions

View File

@ -667,7 +667,7 @@ if test x$sqlite = xtrue; then
fi
if test x$openssl = xtrue; then
AC_HAVE_LIBRARY([ssl],[LIBS="$LIBS"],[AC_MSG_ERROR([OpenSSL library ssl not found])])
AC_HAVE_LIBRARY([crypto],[LIBS="$LIBS"],[AC_MSG_ERROR([OpenSSL crypto library not found])])
AC_CHECK_HEADER([openssl/evp.h],,[AC_MSG_ERROR([OpenSSL header openssl/evp.h not found!])])
fi

View File

@ -14,5 +14,5 @@ libstrongswan_openssl_la_SOURCES = openssl_plugin.h openssl_plugin.c \
openssl_ec_diffie_hellman.c openssl_ec_diffie_hellman.h
libstrongswan_openssl_la_LDFLAGS = -module
libstrongswan_openssl_la_LIBADD = -lssl
libstrongswan_openssl_la_LIBADD = -lcrypto