]> granicus.if.org Git - php/commitdiff
Fix #78348: Remove -lrt from pdo_sqlite.so
authorPeter Kokot <peterkokot@gmail.com>
Mon, 29 Jul 2019 19:12:40 +0000 (21:12 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Tue, 30 Jul 2019 20:06:23 +0000 (22:06 +0200)
The fdatasync check has been removed since PHP 5.3.

The Solaris fix was introduced via
8d63360fc40dec579af5b5f455ef02b85caff5c5
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

ext/pdo_sqlite/config.m4

index 562ab438f7a506b0e4e7c05ef736c32e1b4b36f7..4b1f543056325acf111f220ae28a818b49a38a9b 100644 (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