httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49535] msys support for httpd
Date Fri, 08 Apr 2011 21:38:32 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49535

--- Comment #3 from Jeff Trawick <trawick@apache.org> 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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message