mirror of
https://github.com/cuberite/libevent.git
synced 2025-08-03 17:26:24 -04:00
sample/https-client: link crypt32 explicitly when build with mingw-w64
(cherry picked from commit 78b5bca6d83a70a0b9dfc438898d5c1908cc3c2a)
This commit is contained in:
parent
5febb4e191
commit
e35e02e680
@ -25,6 +25,9 @@ sample_https_client_SOURCES = \
|
||||
sample/hostcheck.c \
|
||||
sample/openssl_hostname_validation.c
|
||||
sample_https_client_LDADD = libevent.la libevent_openssl.la $(OPENSSL_LIBS) $(OPENSSL_LIBADD)
|
||||
if BUILD_WIN32
|
||||
sample_https_client_LDADD += -lcrypt32
|
||||
endif
|
||||
sample_https_client_CPPFLAGS = $(AM_CPPFLAGS) $(OPENSSL_INCS)
|
||||
noinst_HEADERS += \
|
||||
sample/hostcheck.h \
|
||||
|
Loading…
x
Reference in New Issue
Block a user