From: Peter Kokot Date: Mon, 29 Jul 2019 19:12:40 +0000 (+0200) Subject: Fix #78348: Remove -lrt from pdo_sqlite.so X-Git-Tag: php-7.4.0beta2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09b108246a8c1277d37b3d6c0ac6e5544f88d317;p=php Fix #78348: Remove -lrt from pdo_sqlite.so 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 --- diff --git a/ext/pdo_sqlite/config.m4 b/ext/pdo_sqlite/config.m4 index 562ab438f7..4b1f543056 100644 --- a/ext/pdo_sqlite/config.m4 +++ b/ext/pdo_sqlite/config.m4 @@ -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