mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-09-08 22:04:10 +07:00
Refactor extension functions to add_extensions scripts
This commit is contained in:
6
src/scripts/extensions/patches/pdo_oci.sh
Normal file
6
src/scripts/extensions/patches/pdo_oci.sh
Normal file
@ -0,0 +1,6 @@
|
||||
patch_pdo_oci() {
|
||||
get -q -n config.m4 https://raw.githubusercontent.com/php/php-src/PHP-8.0/ext/pdo_oci/config.m4
|
||||
if [[ ${version:?} =~ 5.[3-6] ]]; then
|
||||
sudo sed -i '' "/PHP_CHECK_PDO_INCLUDES/d" config.m4 2>/dev/null || sudo sed -i "/PHP_CHECK_PDO_INCLUDES/d" config.m4
|
||||
fi
|
||||
}
|
Reference in New Issue
Block a user