mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-08 03:44:22 -04:00
use ${OPENSSL_LIBS} instead of -lssl -lcrypto
This made the difference between segfaulting and not segfaulting for me when I run https-client, when I've built libevent using an OpenSSL in a non-standard location. In the same spirit as 1d9d5110a4aebf5833f6fd78bd0252affde0f4d0 and d70af27d0152d0a87a25127faf215604beb8ffe0.
This commit is contained in:
parent
be46c99b89
commit
bf31fa5d30
@ -15,12 +15,12 @@ SAMPLES = \
|
||||
if OPENSSL
|
||||
SAMPLES += sample/le-proxy
|
||||
sample_le_proxy_SOURCES = sample/le-proxy.c
|
||||
sample_le_proxy_LDADD = libevent.la libevent_openssl.la -lssl -lcrypto ${OPENSSL_LIBADD}
|
||||
sample_le_proxy_LDADD = libevent.la libevent_openssl.la ${OPENSSL_LIBS} ${OPENSSL_LIBADD}
|
||||
sample_le_proxy_INCLUDES = $(OPENSSL_INCS)
|
||||
|
||||
SAMPLES += sample/https-client
|
||||
sample_https_client_SOURCES = sample/https-client.c
|
||||
sample_https_client_LDADD = libevent.la libevent_openssl.la -lssl -lcrypto ${OPENSSL_LIBADD}
|
||||
sample_https_client_LDADD = libevent.la libevent_openssl.la ${OPENSSL_LIBS} ${OPENSSL_LIBADD}
|
||||
sample_https_client_INCLUDES = $(OPENSSL_INCS)
|
||||
endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user