aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/build_php.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/run_tests/build_php.sh')
-rwxr-xr-xtools/run_tests/build_php.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/run_tests/build_php.sh b/tools/run_tests/build_php.sh
index 6841656bdb..0a8d0c7492 100755
--- a/tools/run_tests/build_php.sh
+++ b/tools/run_tests/build_php.sh
@@ -2,14 +2,13 @@
set -ex
+CONFIG=${CONFIG:-opt}
+
# change to grpc repo root
cd $(dirname $0)/../..
root=`pwd`
-export GRPC_LIB_SUBDIR=libs/opt
-
-# make the libraries
-make -j static_c
+export GRPC_LIB_SUBDIR=libs/$CONFIG
# build php
cd src/php
@@ -18,4 +17,3 @@ cd ext/grpc
phpize
./configure --enable-grpc=$root
make
-