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
commitfca3b40d7b9f41252c1c436f049de4bb01e07f02 (patch)
treee3c283bc5b610a4868a54152408e58f607529865 /ext/mysqlnd/php_mysqlnd.c
parent696a1bdc0737c5016d829493daf4fab72f169ca8 (diff)
downloadphp-git-fca3b40d7b9f41252c1c436f049de4bb01e07f02.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: