httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49535] msys support for httpd
Date Fri, 08 Apr 2011 21:38:32 GMT

--- Comment #3 from Jeff Trawick <> 2011-04-08 17:38:29 EDT ---
Handling the linkage (dllimport vs. dllexport vs. static):

As I understand it, for a sane build we have to use distinct foo_DECLARE_EXPORT
symbols for each separate unit which exports APIs.

* core (anything in libhttpd.dll) needs to have AP_DECLARE_EXPORT defined.
* mod_proxy needs to have PROXY_DECLARE_EXPORT defined but not
AP_DECLARE_EXPORT. (same for other modules which export APIs)
* building a module with apxs can't have any of the foo_DECLARE_EXPORT symbols

Currently for MinGW, AP_DECLARE_EXPORT is set globally for core+modules and
leaked to apxs builds.

Your patch builds on that global setting of AP_DECLARE_EXPORT by essentially
enabling all foo_DECLARE_EXPORT logic if AP_DECLARE_EXPORT is defined.

Are you enabling all modules statically?  If you built modules as DSOs and they
work, I probably don't understand how it is supposed to work ;)


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message