Skip to content

Commit

Permalink
Fix #78348: Remove -lrt from pdo_sqlite.so
Browse files Browse the repository at this point in the history
The fdatasync check has been removed since PHP 5.3.

The Solaris fix was introduced via
8d63360
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
  • Loading branch information
petk committed Jul 30, 2019
1 parent 053df4a commit 09b1082
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ext/pdo_sqlite/config.m4
Expand Up @@ -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

0 comments on commit 09b1082

Please sign in to comment.