mirror of
https://github.com/apache/httpd.git
synced 2025-08-10 02:56:11 +00:00
This is an ugly little hack to allow DSO modules to work. This basically
forces Apache to link in all of the APR functions whether they are used by any static modules or not. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86770 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -293,6 +293,13 @@ int main(int argc, char *argv[])
|
||||
const char *optarg;
|
||||
|
||||
apr_initialize();
|
||||
|
||||
/* This ugly little hack pulls any function referenced in exports.c into
|
||||
* the web server. exports.c is generated by buildconf, and it
|
||||
* has all of the apr functions specified by httpd.exp.
|
||||
*/
|
||||
ap_ugly_hack = apr_initialize;
|
||||
|
||||
process = create_process(argc, argv);
|
||||
pglobal = process->pool;
|
||||
pconf = process->pconf;
|
||||
|
Reference in New Issue
Block a user