Browse files

libssl depends on libcrypto, not the other way around.

  • Loading branch information...
1 parent d11e9e0 commit 274dd0369afa57448369ee4f85fb7e24883f5172 @peda-r peda-r committed with Nick Mathewson May 4, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 Makefile.am
  2. +1 −1 libevent_openssl.pc.in
  3. +1 −1 sample/Makefile.am
  4. +1 −1 test/Makefile.am
View
2 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) -lcrypto -lssl
+libevent_openssl_la_LIBADD = $(MAYBE_CORE) -lssl -lcrypto
libevent_openssl_la_LDFLAGS = $(GENERIC_LDFLAGS)
endif
View
2 libevent_openssl.pc.in
@@ -11,6 +11,6 @@ Version: @VERSION@
Requires: libevent
Conflicts:
Libs: -L${libdir} -levent_openssl
-Libs.private: @LIBS@ -lcrypto -lssl
+Libs.private: @LIBS@ -lssl -lcrypto
Cflags: -I${includedir}
View
2 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 -lcrypto -lssl
+le_proxy_LDADD = $(LDADD) ../libevent_openssl.la -lssl -lcrypto
endif
verify:
View
2 test/Makefile.am
@@ -60,7 +60,7 @@ regress_LDFLAGS = $(PTHREAD_CFLAGS)
if OPENSSL
regress_SOURCES += regress_ssl.c
-regress_LDADD += ../libevent_openssl.la -lcrypto -lssl
+regress_LDADD += ../libevent_openssl.la -lssl -lcrypto
endif
bench_SOURCES = bench.c

0 comments on commit 274dd03

Please sign in to comment.