diff options
author | Yang Tse <yangsita@gmail.com> | 2009-06-04 04:13:39 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-06-04 04:13:39 +0000 |
commit | 13fdb9d8a56deff52eb16bce6b78e6710a42958a (patch) | |
tree | 65a10baf856c67c1f1ec7f1464e6d6ec37193e3f /lib | |
parent | 52b2bc4109e890094901140614880f6a5c5aa8be (diff) |
c-ares embbeded builds header include paths fully defined in makefiles
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
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 # |