com php-src: Fixed bug #75616: NEWS ext/pdo/config.m4
| From: | Nikita Popov | Date: | Sun, 17 Dec 2017 11:56:37 +0000 |
| Subject: | com php-src: Fixed bug #75616: NEWS ext/pdo/config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-100628@lists.php.net to get a copy of this message | ||
Commit: 11eed9f3ba7429be467b54d8407cfbd6bd7e6f3a
Author: Jaromír Doleček <jdolecek@NetBSD.org> Sun, 17 Dec 2017 12:56:37 +0100
Committer: Nikita Popov <nikita.ppv@gmail.com> Sun, 17 Dec 2017 12:56:37 +0100
Parents: 200bf9b5d76b4ff2b17981000293213ca14d094b
Branches: PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=11eed9f3ba7429be467b54d8407cfbd6bd7e6f3a
Log:
Fixed bug #75616
PDO can be built shared on Darwin nowadays. There used to be issues
relating to symbol references between dynamically loaded shared
objects.
Bugs:
https://bugs.php.net/75616
Changed paths:
M NEWS
M ext/pdo/config.m4
Diff:
diff --git a/NEWS b/NEWS
index b054c19..05a584b 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,10 @@ PHP NEWS
(Nikita, Laruence)
. Fixed bug #75698 (Using @ crashes php7.2-fpm). (Nikita)
+- PDO:
+ . Fixed bug #75616 (PDO extension doesn't allow to be built shared on Darwin).
+ (jdolecek)
+
- PDO MySQL:
. Fixed bug #75615 (PDO Mysql module can't be built as module). (jdolecek)
diff --git a/ext/pdo/config.m4 b/ext/pdo/config..m4
index 786c703..8cbf217 100755
--- a/ext/pdo/config.m4
+++ b/ext/pdo/config.m4
@@ -37,20 +37,6 @@ if test "$PHP_PDO" != "no"; then
PHP_PDO_PEAR_CHECK
- if test "$ext_shared" = "yes" ; then
- case $host_alias in
- *darwin*)
- AC_MSG_ERROR([
-Due to the way that loadable modules work on OSX/Darwin, you need to
-compile the PDO package statically into the PHP core.
-
-Please follow the instructions at: http://netevil.org/node.php?nid=202
-for more detail on this issue.
- ])
- ext_shared=no
- ;;
- esac
- fi
PHP_NEW_EXTENSION(pdo, pdo.c pdo_dbh.c pdo_stmt.c pdo_sql_parser.c pdo_sqlstate.c, $ext_shared)
ifdef([PHP_ADD_EXTENSION_DEP],
[