Fix logs of disabled dependent extensions

Use shared_extension function on unix
This commit is contained in:
Shivam Mathur
2021-08-28 12:17:22 +05:30
parent 8e80635955
commit 4beeea41b4
7 changed files with 19 additions and 10 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ add_client() {
# Function to install oci8 and pdo_oci.
add_oci_helper() {
if ! [ -e "${ext_dir:?}/$ext.so" ]; then
if ! shared_extension "$ext"; then
status='Installed and enabled'
read -r "${ext}_LINUX_LIBS" <<< "libaio-dev"
read -r "${ext}_CONFIGURE_OPTS" <<< "--with-php-config=$(command -v php-config) --with-${ext/_/-}=instantclient,$oracle_client"