]> granicus.if.org Git - php/commitdiff
Fix bug #72996
authorNikita Popov <nikic@php.net>
Sat, 3 Sep 2016 21:30:23 +0000 (23:30 +0200)
committerNikita Popov <nikic@php.net>
Sat, 3 Sep 2016 21:30:23 +0000 (23:30 +0200)
NEWS
sapi/phpdbg/phpdbg_prompt.c

diff --git a/NEWS b/NEWS
index c26aa34fe31249d63822982c31c86563b165a241..c38ed5d13f08d1742da8e728485c98e791efa71a 100644 (file)
--- 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).
index 6f73d3087a467ed167ed5091df576de9676fe3cb..7115d8d4727609f34fbed421775c00953df06fe9 100644 (file)
@@ -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) /* {{{ */
 {