Merge pull request #2941 from nicolasnoble/zookeeper-is-c-not-c++

Fixing zookeeper's installation.
pull/2944/head
Michael Lumish 9 years ago
commit 39e18040bd
  1. 5
      Makefile
  2. 19
      templates/Makefile.template

@ -3407,9 +3407,11 @@ ifeq ($(CONFIG),opt)
$(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc.a
$(E) "[STRIP] Stripping libgrpc_unsecure.a"
$(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a
ifeq ($(HAS_ZOOKEEPER),true)
$(E) "[STRIP] Stripping libgrpc_zookeeper.a"
$(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper.a
endif
endif
strip-static_cxx: static_cxx
ifeq ($(CONFIG),opt)
@ -3417,9 +3419,6 @@ ifeq ($(CONFIG),opt)
$(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc++.a
$(E) "[STRIP] Stripping libgrpc++_unsecure.a"
$(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a
ifeq ($(HAS_ZOOKEEPER),true)
endif
endif
strip-shared_c: shared_c

@ -1143,39 +1143,38 @@ ifeq ($(CONFIG),opt)
% for lib in libs:
% if lib.language == "c":
% if lib.build == "all":
% if not lib.get('external_deps', None):
$(E) "[STRIP] Stripping lib${lib.name}.a"
$(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/lib${lib.name}.a
% endif
% endif
% endif
% endfor
endif
strip-static_cxx: static_cxx
ifeq ($(CONFIG),opt)
ifeq ($(HAS_ZOOKEEPER),true)
% for lib in libs:
% if lib.language == "c++":
% if lib.language == "c":
% if lib.build == "all":
% if not lib.get('external_deps', None):
% if 'zookeeper' in lib.get('external_deps', []):
$(E) "[STRIP] Stripping lib${lib.name}.a"
$(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/lib${lib.name}.a
% endif
% endif
% endif
% endfor
endif
endif
ifeq ($(HAS_ZOOKEEPER),true)
strip-static_cxx: static_cxx
ifeq ($(CONFIG),opt)
% for lib in libs:
% if lib.language == "c++":
% if lib.build == "all":
% if 'zookeeper' in lib.get('external_deps', []):
$(E) "[STRIP] Stripping lib${lib.name}.a"
$(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/lib${lib.name}.a
% endif
% endif
% endif
% endfor
endif
endif
strip-shared_c: shared_c
ifeq ($(CONFIG),opt)

Loading…
Cancel
Save