From e581a31d6ade114e6cd7349166879450e52a19bd Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Fri, 6 Jun 2008 08:04:42 +0000 Subject: [PATCH] link against openssl crypto library only --- configure.in | 2 +- src/libstrongswan/plugins/openssl/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 594fa6123..939e6c486 100644 --- a/configure.in +++ b/configure.in @@ -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 diff --git a/src/libstrongswan/plugins/openssl/Makefile.am b/src/libstrongswan/plugins/openssl/Makefile.am index b2bb03f36..e48057b1f 100644 --- a/src/libstrongswan/plugins/openssl/Makefile.am +++ b/src/libstrongswan/plugins/openssl/Makefile.am @@ -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