Fix missing header

pull/7900/head
Yuchen Zeng 8 years ago
parent 676b6cbc10
commit 7c8be1dd55
  1. 536
      Makefile
  2. 13
      templates/Makefile.template

File diff suppressed because it is too large Load Diff

@ -559,10 +559,8 @@
CARES_DEP = $(LIBDIR)/$(CONFIG)/libares.a
CARES_MERGE_OBJS = $(LIBARES_OBJS)
CARES_MERGE_LIBS = $(LIBDIR)/$(CONFIG)/libares.a
CPPFLAGS := -Ithird_party/c-ares $(CPPFLAGS)
CPPFLAGS := -Ithird_party/c-ares -Isrc/c-ares $(CPPFLAGS)
LDFLAGS := -L$(LIBDIR)/$(CONFIG)/c-ares $(LDFLAGS)
CARES_CFLAGS_EXTRA += $(findstring -m32,$(CFLAGS))
CARES_CFLAGS_EXTRA += -Wno-invalid-source-encoding
else
ifeq ($(HAS_PKG_CONFIG),true)
CARES_PKG_CONFIG = true
@ -580,14 +578,6 @@
endif
endif
LIBS_CARES = cares
ifeq ($(CARES_PKG_CONFIG),true)
LDLIBS_CARES += $(shell $(PKG_CONFIG) --libs-only-l libcares)
else
LDLIBS_CARES += $(addprefix -l, $(LIBS_CARES))
endif
OPENSSL_PKG_CONFIG = false
PC_REQUIRES_SECURE =
@ -1725,7 +1715,6 @@
% for dep in tgt.deps:
$(LIBDIR)/$(CONFIG)/lib${dep}.a\
% endfor
$(LDLIBS_CARES)\
% if tgt.language == "c++":
% if tgt.build == 'protoc':
$(HOST_LDLIBSXX) $(HOST_LDLIBS_PROTOC)\

Loading…
Cancel
Save