Merge pull request #25133 from apolcyn/backport_fix_zlib_implicit_declaration

Backport "Fix implicit declaration error in zlib + macOS #24979"
pull/25152/head
apolcyn 4 years ago committed by GitHub
commit 96d2e95dd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      Makefile
  2. 1
      build_handwritten.yaml

@ -2455,6 +2455,7 @@ PUBLIC_HEADERS_C += \
LIBZ_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBZ_SRC))))
$(LIBZ_OBJS): CFLAGS += -fvisibility=hidden
$(LIBZ_OBJS): CPPFLAGS += -DHAVE_UNISTD_H
$(LIBDIR)/$(CONFIG)/libz.a: $(LIBZ_OBJS)
$(E) "[AR] Creating $@"

@ -216,6 +216,7 @@ defaults:
LDFLAGS: -g
zlib:
CFLAGS: -fvisibility=hidden
CPPFLAGS: -DHAVE_UNISTD_H
php_config_m4:
deps:
- grpc

Loading…
Cancel
Save