Fix installation of pdo_dblib on debian/PHP8.0

pull/207/head
Michele Locati 2020-12-09 09:41:56 +01:00
parent 9287cce478
commit 97655cee86
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
2 changed files with 4 additions and 6 deletions

View File

@ -40,7 +40,7 @@ opencensus 7.0 7.1 7.2 7.3 7.4
parallel 7.1 7.2 7.3 7.4 parallel 7.1 7.2 7.3 7.4
pcntl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 pcntl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
pcov 7.0 7.1 7.2 7.3 7.4 8.0 pcov 7.0 7.1 7.2 7.3 7.4 8.0
pdo_dblib 5.5 5.6 7.0 7.1 7.2 7.3 7.4 pdo_dblib 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
pdo_firebird 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 pdo_firebird 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
pdo_mysql 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 pdo_mysql 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
pdo_odbc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 pdo_odbc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0

View File

@ -1029,11 +1029,9 @@ installBundledModule() {
esac esac
;; ;;
mssql | pdo_dblib) mssql | pdo_dblib)
if test $PHP_MAJMIN_VERSION -le 704; then if ! test -f /usr/lib/libsybdb.so; then
if ! test -f /usr/lib/libsybdb.so; then ln -s /usr/lib/x86_64-linux-gnu/libsybdb.so /usr/lib/libsybdb.so
ln -s /usr/lib/x86_64-linux-gnu/libsybdb.so /usr/lib/libsybdb.so UNNEEDED_PACKAGE_LINKS="$UNNEEDED_PACKAGE_LINKS /usr/lib/libsybdb.so"
UNNEEDED_PACKAGE_LINKS="$UNNEEDED_PACKAGE_LINKS /usr/lib/libsybdb.so"
fi
fi fi
;; ;;
odbc) odbc)