From 5ad50eccdc503d740a755f43130ee611d5bb32fc Mon Sep 17 00:00:00 2001 From: ZhouyihaiDing Date: Tue, 27 Mar 2018 09:37:09 -0700 Subject: [PATCH] PHP: fix pecl installation error for fiinding address_sorting.h --- config.m4 | 1 + templates/config.m4.template | 1 + 2 files changed, 2 insertions(+) diff --git a/config.m4 b/config.m4 index d7cda0b4474..dfdbd0f2e13 100644 --- a/config.m4 +++ b/config.m4 @@ -8,6 +8,7 @@ if test "$PHP_GRPC" != "no"; then PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/include) PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/src/php/ext/grpc) PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/third_party/boringssl/include) + PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/third_party/address_sorting/include) LIBS="-lpthread $LIBS" diff --git a/templates/config.m4.template b/templates/config.m4.template index 9877e4be186..cc19d98375f 100644 --- a/templates/config.m4.template +++ b/templates/config.m4.template @@ -10,6 +10,7 @@ PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/include) PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/src/php/ext/grpc) PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/third_party/boringssl/include) + PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/third_party/address_sorting/include) LIBS="-lpthread $LIBS"