Commit 165c2441 authored by Karel Slaný's avatar Karel Slaný

Building libDNSSECcore.dll using w64-mingw32.

parent 5fd31267
......@@ -94,17 +94,20 @@ endif
if MINGW_BUILD
# Libtool may fail when using MinGW.
.IGNORE: libDNSSECcore.la
CLEANFILES += \
libDNSSECcore.def \
libDANEcore.def
# Libtool refuses to link static archives into dynamic libraries, therefore
# the explicit linking.
# libldns contains inet_pton() and inet_ntop(), therefore it is laways linked.
# Libtool refuses to link static archives into dynamic libraries, therefore the explicit linking.
# libldns contains inet_pton() and inet_ntop(), therefore it is always linked (using DANE_CORE_STATIC_DEPS).
# Also, the commands may require winpthread-static to have installed.
DNSSEC_CORE_INSTALL_CMD = \
$(CC) -shared -Wl,--output-def,libDNSSECcore.def,-Bstatic,-Bsymbolic,-lws2_32,-liphlpapi,-lgdi32 \
$(CC) -shared -Wl,--output-def,libDNSSECcore.def,-Bstatic,-Bsymbolic,-lws2_32,-liphlpapi,-lgdi32,-lcrypt32 \
-o .libs/libDNSSECcore$(SO_SUFF) common.o dnssec-plug.o log_dflt.o \
$(DANE_CORE_STATIC_DEPS) -lws2_32 -liphlpapi -lgdi32
$(DANE_CORE_STATIC_DEPS) -lws2_32 -liphlpapi -lgdi32 -lcrypt32
DANE_CORE_INSTALL_CMD = \
$(CC) -shared -Wl,--output-def,libDANEcore.def,-Bstatic,-Bsymbolic,-lws2_32,-liphlpapi,-lgdi32,-lcrypt32 \
-o .libs/libDANEcore$(SO_SUFF) common.o dane-plug.o log_dflt.o ca_store_win.o \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment