Fix #78348: Remove -lrt from pdo_sqlite.so

The fdatasync check has been removed since PHP 5.3.

The Solaris fix was introduced via
8d63360fc4
and is today no longer relevant since the sqlite library is neither
bundled in php-src anymore neither the check needs to be done via the
PHP build system.

Closes GH-4485
This commit is contained in:
Peter Kokot 2019-07-29 21:12:40 +02:00
parent 053df4ac3b
commit 09b108246a

View file

@ -35,8 +35,5 @@ if test "$PHP_PDO_SQLITE" != "no"; then
PHP_NEW_EXTENSION(pdo_sqlite, pdo_sqlite.c sqlite_driver.c sqlite_statement.c,
$ext_shared,,-I$pdo_cv_inc_path)
dnl Solaris fix
PHP_CHECK_LIBRARY(rt, fdatasync, [PHP_ADD_LIBRARY(rt,, PDO_SQLITE_SHARED_LIBADD)])
PHP_ADD_EXTENSION_DEP(pdo_sqlite, pdo)
fi