From 13fdb9d8a56deff52eb16bce6b78e6710a42958a Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 4 Jun 2009 04:13:39 +0000 Subject: c-ares embbeded builds header include paths fully defined in makefiles --- lib/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib') diff --git a/lib/Makefile.am b/lib/Makefile.am index ec1905745..1089c5f6d 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -57,12 +57,19 @@ LIBCURL_LIBS = @LIBCURL_LIBS@ # $(top_builddir)/ares is for in-tree c-ares's generated ares_build.h file # $(top_srcdir)/ares is for in-tree c-ares's external include files +if USE_EMBEDDED_ARES INCLUDES = -I$(top_builddir)/include \ -I$(top_srcdir)/include \ -I$(top_builddir)/lib \ -I$(top_srcdir)/lib \ -I$(top_builddir)/ares \ -I$(top_srcdir)/ares +else +INCLUDES = -I$(top_builddir)/include \ + -I$(top_srcdir)/include \ + -I$(top_builddir)/lib \ + -I$(top_srcdir)/lib +endif if SONAME_BUMP # -- cgit v1.2.3