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
commit7420cf22bc3dd7d2086421ee1b9659bc9ef559ed (patch)
tree1f222ead7c109c6a0b41f7799b51a024f6cf9465 /ext/mysqlnd/php_mysqlnd.c
parentb8ecb0c4afb78c29df0977ee89dff9b63101fe77 (diff)
downloadphp-git-7420cf22bc3dd7d2086421ee1b9659bc9ef559ed.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 e687d1fc40..7147e6f4a7 100644
--- a/ext/mysqlnd/php_mysqlnd.c
+++ b/ext/mysqlnd/php_mysqlnd.c
@@ -366,6 +366,11 @@ zend_module_entry mysqlnd_module_entry = {
};
/* }}} */
+/* {{{ COMPILE_DL_MYSQLND */
+#ifdef COMPILE_DL_MYSQLND
+ZEND_GET_MODULE(mysqlnd)
+#endif
+/* }}} */
/*
* Local variables: