Skip to content
Snippets Groups Projects
Commit fdf27a49 authored by Stanley Cheung's avatar Stanley Cheung
Browse files

remove reference to homebrew

parent b95870d8
No related branches found
No related tags found
No related merge requests found
...@@ -29,11 +29,7 @@ ...@@ -29,11 +29,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
set -e set -e
default_extension_dir=$(php-config --extension-dir) default_extension_dir=$(php-config --extension-dir)
if command -v brew > /dev/null && \ if [ ! -e $default_extension_dir/grpc.so ]; then
brew ls --versions | grep php5[56]-grpc > /dev/null; then
# the grpc php extension was installed by homebrew
:
elif [ ! -e $default_extension_dir/grpc.so ]; then
# the grpc extension is not found in the default PHP extension dir # the grpc extension is not found in the default PHP extension dir
# try the source modules directory # try the source modules directory
module_dir=../ext/grpc/modules module_dir=../ext/grpc/modules
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment