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