diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2011-05-05 15:49:38 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2011-05-06 02:06:32 +0200 |
commit | 292092eb29ba6e98bde2839e0cfab2f03f9bd7a2 (patch) | |
tree | eadcf59010d187c2334afbccb16caaf840ae155e | |
parent | 7b819f2d97fae57da07f00fd53fa82b02d39fe59 (diff) | |
download | libevent-292092eb29ba6e98bde2839e0cfab2f03f9bd7a2.tar.gz |
Use OPENSSL_LIBS in Makefile.am
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 4ed82b6f..08a7cafe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -201,7 +201,7 @@ libevent_extra_la_LDFLAGS = $(GENERIC_LDFLAGS) if OPENSSL libevent_openssl_la_SOURCES = bufferevent_openssl.c -libevent_openssl_la_LIBADD = $(MAYBE_CORE) -lssl -lcrypto +libevent_openssl_la_LIBADD = $(MAYBE_CORE) $(OPENSSL_LIBS) libevent_openssl_la_LDFLAGS = $(GENERIC_LDFLAGS) endif diff --git a/configure.in b/configure.in index cca44425..017be83f 100644 --- a/configure.in +++ b/configure.in @@ -110,7 +110,7 @@ OPENSSL_LIBS="" have_openssl=no AC_SEARCH_LIBS([SSL_new], [ssl], [have_openssl=yes - OPENSSL_LIBS="$LIBS" + OPENSSL_LIBS="$LIBS -lcrypto" AC_DEFINE(HAVE_OPENSSL, 1, [Define if the system has openssl])]) LIBS="$save_LIBS" AC_SUBST(OPENSSL_LIBS) |