From 1ae2d074f8fdb7558c404b2deb20b4a31e592058 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sat, 3 Sep 2016 23:30:23 +0200 Subject: [PATCH] Fix bug #72996 --- NEWS | 3 +++ sapi/phpdbg/phpdbg_prompt.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/NEWS b/NEWS index c26aa34fe3..c38ed5d13f 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,9 @@ PHP NEWS . Fixed bug #72982 (Memory leak in zend_accel_blacklist_update_regexp() function). (Laruence) +- phpdbg: + . Fixed bug #72996 (phpdbg_prompt.c undefined reference to DL_LOAD). (Nikita) + - SOAP: . Fixed bug #71711 (Soap Server Member variables reference bug). (Nikita) . Fixed bug #71996 (Using references in arrays doesn't work like expected). diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c index 6f73d3087a..7115d8d472 100644 --- a/sapi/phpdbg/phpdbg_prompt.c +++ b/sapi/phpdbg/phpdbg_prompt.c @@ -1019,6 +1019,7 @@ static int add_zendext_info(zend_extension *ext) /* {{{ */ { } /* }}} */ +#ifdef HAVE_LIBDL PHPDBG_API const char *phpdbg_load_module_or_extension(char **path, char **name) /* {{{ */ { DL_HANDLE handle; char *extension_dir; @@ -1159,6 +1160,7 @@ quit: return NULL; } /* }}} */ +#endif PHPDBG_COMMAND(dl) /* {{{ */ { -- 2.40.0