aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/Makefile.template
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2016-08-05 18:21:57 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2016-08-05 18:21:57 -0700
commit78f9f94a8110113b7455a01da44e42d526abc4ea (patch)
treed989c3c15b7784d5ac4a32a54027b66582b8309f /templates/Makefile.template
parent1e4c44bfe66942bb878de3e8b84f68c19cd1fbc1 (diff)
Try fixing the ares_build.h generation issue
Diffstat (limited to 'templates/Makefile.template')
-rw-r--r--templates/Makefile.template5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/Makefile.template b/templates/Makefile.template
index 9c420ad2bc..d72daee914 100644
--- a/templates/Makefile.template
+++ b/templates/Makefile.template
@@ -1472,7 +1472,7 @@
else
% endif
- $(LIBDIR)/$(CONFIG)/lib${lib.name}.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(CARES_DEP)\
+ $(LIBDIR)/$(CONFIG)/lib${lib.name}.a: $(ZLIB_DEP) $(OPENSSL_DEP)\
## The else here corresponds to the if secure earlier.
% else:
% if lib.language == 'c++':
@@ -1489,7 +1489,7 @@
else
% endif
- $(LIBDIR)/$(CONFIG)/lib${lib.name}.a: $(CARES_DEP) \
+ $(LIBDIR)/$(CONFIG)/lib${lib.name}.a: \
% if lib.name != 'z':
$(ZLIB_DEP) \
% endif
@@ -1505,6 +1505,7 @@
$(OPENSSL_MERGE_OBJS) \
% endif
% endif
+ $(CARES_DEP)\
$(E) "[AR] Creating $@"
$(Q) mkdir -p `dirname $@`