aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-08-14 19:35:24 +0200
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-08-14 19:35:24 +0200
commit4ef9b86cc22c4051d98534c28f413720df610fe6 (patch)
treec9d727c5b2678615c690b04ccc701eaad8a228fc
parentbd0d1bd5d9984a8c668e85ff25511bc4bc6f4ac9 (diff)
Fixing zookeeper's installation.
-rw-r--r--Makefile5
-rw-r--r--templates/Makefile.template23
2 files changed, 13 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index 5895e49b27..d254fd6ecb 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/templates/Makefile.template b/templates/Makefile.template
index 75fd672596..1b898efbdd 100644
--- a/templates/Makefile.template
+++ b/templates/Makefile.template
@@ -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
+ $(E) "[STRIP] Stripping lib${lib.name}.a"
+ $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/lib${lib.name}.a
% endif
% endif
% endfor
endif
-endif
strip-shared_c: shared_c
ifeq ($(CONFIG),opt)