diff options
author | Remi Collet <remi@remirepo.net> | 2024-08-13 14:09:36 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-08-13 14:09:36 +0200 |
commit | 733d2a98958fb3184a36740b500a727f2269df4b (patch) | |
tree | d8f63bf48e7eddf476bc0e8e25e1c4ba6a995441 /grpc-openssl.patch | |
parent | d0cc93e73c5b0d5ae1dc3c2c67b38224fa65c45f (diff) |
use system openssl
Diffstat (limited to 'grpc-openssl.patch')
-rw-r--r-- | grpc-openssl.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/grpc-openssl.patch b/grpc-openssl.patch new file mode 100644 index 0000000..8cb1f5e --- /dev/null +++ b/grpc-openssl.patch @@ -0,0 +1,20 @@ +--- ./config.m4.old 2024-08-13 12:14:53.273367368 +0200 ++++ ./config.m4 2024-08-13 12:20:46.644703516 +0200 +@@ -2,7 +2,15 @@ + [ --enable-grpc Enable grpc support]) + + if test "$PHP_GRPC" != "no"; then +- dnl Write more examples of tests here... ++ PHP_ARG_WITH(openssl-dir, for OpenSSL installation prefix, ++ [ --with-openssl-dir[=DIR] Event: openssl installation prefix], yes, no) ++ PHP_SETUP_OPENSSL(GRPC_SHARED_LIBADD, ++ [ ++ ], [ ++ AC_MSG_ERROR([OpenSSL libraries not found. ++ Check whether openssl is on your PKG_CONFIG_PATH and the output in config.log) ++ ]) ++ ]) + + dnl # --with-grpc -> add include path + PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/include) + |