https://issues.apache.org/bugzilla/show_bug.cgi?id=49535
--- Comment #3 from Jeff Trawick <[email protected]> 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 defined 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 ;) Thanks! -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
