Commit a5d76b6e authored by Karel Slaný's avatar Karel Slaný

Building with unbound-1.4.22 again.

parent 49cc3d25
......@@ -16,8 +16,8 @@ DOWNLOADER = curl -O
# openssl-1.0.1i openssl-1.0.2h
PKG_OPENSSL = openssl-1.0.2h
PKG_LDNS = ldns-1.6.17
# unbound-1.4.22 unbound-1.5.9
PKG_UNBOUND = unbound-1.5.9
PKG_UNBOUND = unbound-1.4.22
#PKG_UNBOUND = unbound-1.5.9
ARCHIVE_OPENSSL = $(PKG_OPENSSL).tar.gz
ARCHIVE_LDNS = $(PKG_LDNS).tar.gz
......@@ -75,17 +75,21 @@ srcs-ldns-64-stamp: libs-srcs-64-stamp
touch $@
if MINGW_BUILD
PATCH_UNBOUND_CMD_32 = \
ifeq ($(PKG_UNBOUND), unbound-1.5.9)
PATCH_UNBOUND_CMD_32 = \
(cd libs-srcs-32/unbound && \
$(INSTALL) -m 644 ../../files/unbound-1.5.9-mingw-w64-compat.patch ./unbound-1.5.9-mingw-w64-compat.patch && \
$(INSTALL) -m 644 ../../files/unbound-mingw-w64-compat.h ./unbound-mingw-w64-compat.h && \
patch -p1 < ./unbound-1.5.9-mingw-w64-compat.patch)
PATCH_UNBOUND_CMD_64 = \
PATCH_UNBOUND_CMD_64 = \
(cd libs-srcs-64/unbound && \
$(INSTALL) -m 644 ../../files/unbound-1.5.9-mingw-w64-compat.patch ./unbound-1.5.9-mingw-w64-compat.patch && \
$(INSTALL) -m 644 ../../files/unbound-mingw-w64-compat.h ./unbound-mingw-w64-compat.h && \
patch -p1 < ./unbound-1.5.9-mingw-w64-compat.patch)
endif
endif
srcs-unbound-32-stamp: libs-srcs-32-stamp
......
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