summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/php_mysqlnd.c
diff options
context:
space:
mode:
authorJohannes Schlüter <johannes@php.net>2011-09-06 16:38:22 +0000
committerJohannes Schlüter <johannes@php.net>2011-09-06 16:38:22 +0000
commit9554e24547f73960e8fe4735414da18b0bbd42a6 (patch)
tree32c26cb9f891eb43c5e92e504ea0c5eb78280332 /ext/mysqlnd/php_mysqlnd.c
parent1ffe46c0206d74b40dd961e4aaf7910ea3ffe4b0 (diff)
downloadphp-git-9554e24547f73960e8fe4735414da18b0bbd42a6.tar.gz
- Fix bug #55609 (mysqlnd cannot be built shared)
# This adds an option --enable-mysqlnd to explicitly built mysqlnd, like any # other extension it can be used with =shared to build mysqlnd shared; # mysqlnd will implicitly enabled when requested from another extension
Diffstat (limited to 'ext/mysqlnd/php_mysqlnd.c')
-rw-r--r--ext/mysqlnd/php_mysqlnd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/mysqlnd/php_mysqlnd.c b/ext/mysqlnd/php_mysqlnd.c
index bba8d026d9..eec15ca89c 100644
--- a/ext/mysqlnd/php_mysqlnd.c
+++ b/ext/mysqlnd/php_mysqlnd.c
@@ -299,6 +299,11 @@ zend_module_entry mysqlnd_module_entry = {
};
/* }}} */
+/* {{{ COMPILE_DL_MYSQLND */
+#ifdef COMPILE_DL_MYSQLND
+ZEND_GET_MODULE(mysqlnd)
+#endif
+/* }}} */
/*
* Local variables: