diff --git a/sample/Makefile.am b/sample/Makefile.am index 09464273..4ade6aab 100644 --- a/sample/Makefile.am +++ b/sample/Makefile.am @@ -15,7 +15,7 @@ http_server_sources = http-server.c if OPENSSL noinst_PROGRAMS += le-proxy le_proxy_sources = le-proxy.c -le_proxy_LDADD = $(LDADD) ../libevent_openssl.la -lssl -lcrypto +le_proxy_LDADD = $(LDADD) ../libevent_openssl.la endif verify: diff --git a/test/Makefile.am b/test/Makefile.am index cf5431ae..01bd203f 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -60,7 +60,7 @@ regress_LDFLAGS = $(PTHREAD_CFLAGS) if OPENSSL regress_SOURCES += regress_ssl.c -regress_LDADD += ../libevent_openssl.la -lssl -lcrypto +regress_LDADD += ../libevent_openssl.la endif bench_SOURCES = bench.c