0001-src-lib-Makefile.am-install-ares_dns.h.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. From e2180d95fb67f57b6ffba01fefb4844a1ca4f792 Mon Sep 17 00:00:00 2001
  2. From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  3. Date: Wed, 18 Nov 2020 08:12:45 +0100
  4. Subject: [PATCH] src/lib/Makefile.am: install ares_dns.h
  5. This will avoid the following build failure with resiprocate:
  6. In file included from dns/DnsCnameRecord.cxx:7:
  7. dns/AresCompat.hxx:5:10: fatal error: ares_dns.h: No such file or directory
  8. #include "ares_dns.h"
  9. ^~~~~~~~~~~~
  10. Fixes:
  11. - http://autobuild.buildroot.org/results/cbf158f0c037d44ef293a8804d18c84e3b731059
  12. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  13. [Upstream status: https://github.com/c-ares/c-ares/pull/376]
  14. ---
  15. src/lib/Makefile.am | 2 ++
  16. 1 file changed, 2 insertions(+)
  17. diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
  18. index c918667..92a4152 100644
  19. --- a/src/lib/Makefile.am
  20. +++ b/src/lib/Makefile.am
  21. @@ -14,6 +14,8 @@ lib_LTLIBRARIES = libcares.la
  22. man_MANS = $(MANPAGES)
  23. +include_HEADERS = ares_dns.h
  24. +
  25. # adig and ahost are just sample programs and thus not mentioned with the
  26. # regular sources and headers
  27. EXTRA_DIST = Makefile.inc config-win32.h CMakeLists.txt \
  28. --
  29. 2.29.2