Commit 5fd31267 authored by Karel Slaný's avatar Karel Slaný

Fixed path of additional ldns headers when building using MinGW.

parent a2b49bd7
......@@ -303,7 +303,7 @@ AS_IF([test "x$enable_static_linking" = "xyes"], [
)
],
[mingw*], [
CORE_CPPFLAGS='-I$(top_srcdir)/static-libs/libs-built/windows/x86 '"${CORE_CPPFLAGS}"
CORE_CPPFLAGS='-I$(top_srcdir)/static-libs/libs-built-32/windows '"${CORE_CPPFLAGS}"
AC_DEFINE(TGT_SYSTEM, TGT_WIN, [Target system is Windows.])
AC_DEFINE(__USE_MINGW_ANSI_STDIO, 1, [MinGW requires this for GNU format specifiers?])
AS_CASE([${BITS}],
......
......@@ -111,9 +111,9 @@ built-openssl-64-stamp: srcs-openssl-64-stamp libs-built-64-stamp
if MINGW_BUILD
COPY_HEADERS_CMD_32 = \
(cd libs-srcs-32/ldns && \
$(INSTALL) -d $(abs_builddir)/libs-built-32/windows/x86/ldns && \
$(INSTALL) -m 644 ldns/config.h $(abs_builddir)/libs-built-32/windows/x86/ldns/config.h && \
$(INSTALL) -m 644 ldns/net.h $(abs_builddir)/libs-built-32/windows/x86/ldns/net.h)
$(INSTALL) -d $(abs_builddir)/libs-built-32/windows/ldns && \
$(INSTALL) -m 644 ldns/config.h $(abs_builddir)/libs-built-32/windows/ldns/config.h && \
$(INSTALL) -m 644 ldns/net.h $(abs_builddir)/libs-built-32/windows/ldns/net.h)
endif
# Linker from mingw-w64 has problems passing the linktest of ldns-1.6.17
......
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