Let's not strip libraries if compiled in anything other than release.
Hopefully works around #90.
diff --git a/Makefile b/Makefile
index f4615a2..d46bf2c 100644
--- a/Makefile
+++ b/Makefile
@@ -1006,28 +1006,36 @@
# This prevents proper debugging after running make install.
strip-static_c: static_c
+ifeq ($(CONFIG),opt)
$(E) "[STRIP] Stripping libgpr.a"
$(Q) $(STRIP) libs/$(CONFIG)/libgpr.a
$(E) "[STRIP] Stripping libgrpc.a"
$(Q) $(STRIP) libs/$(CONFIG)/libgrpc.a
$(E) "[STRIP] Stripping libgrpc_unsecure.a"
$(Q) $(STRIP) libs/$(CONFIG)/libgrpc_unsecure.a
+endif
strip-static_cxx: static_cxx
+ifeq ($(CONFIG),opt)
$(E) "[STRIP] Stripping libgrpc++.a"
$(Q) $(STRIP) libs/$(CONFIG)/libgrpc++.a
+endif
strip-shared_c: shared_c
+ifeq ($(CONFIG),opt)
$(E) "[STRIP] Stripping libgpr.so"
$(Q) $(STRIP) libs/$(CONFIG)/libgpr.$(SHARED_EXT)
$(E) "[STRIP] Stripping libgrpc.so"
$(Q) $(STRIP) libs/$(CONFIG)/libgrpc.$(SHARED_EXT)
$(E) "[STRIP] Stripping libgrpc_unsecure.so"
$(Q) $(STRIP) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT)
+endif
strip-shared_cxx: shared_cxx
+ifeq ($(CONFIG),opt)
$(E) "[STRIP] Stripping libgrpc++.so"
$(Q) $(STRIP) libs/$(CONFIG)/libgrpc++.$(SHARED_EXT)
+endif
gens/examples/tips/empty.pb.cc: examples/tips/empty.proto $(PROTOC_PLUGINS)
$(E) "[PROTOC] Generating protobuf CC file from $<"