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:
Ryan Bloom
2000-10-30 23:08:27 +00:00
parent 8e02713b49
commit 511d2c481c
6 changed files with 47 additions and 2 deletions

View File

@ -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;