php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch add-patch-to-fix-static-library-build for Compile Failure Bug #72996

Patch version 2016-09-01 17:35 UTC

Return to Bug #72996 | Download this patch
Patch Revisions:

Developer: subins2000@gmail.com

diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c
index 6f73d30..6768dc5 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;
@@ -1158,6 +1159,7 @@ quit:
 	DL_UNLOAD(handle);
 	return NULL;
 }
+#endif
 /* }}} */
 
 PHPDBG_COMMAND(dl) /* {{{ */
-- 
2.7.4

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Nov 24 00:01:27 2024 UTC