Copterfly / modwsgi

Automatically exported from code.google.com/p/modwsgi
0 stars 0 forks source link

[PATCH] configure.ac clobbers LDFLAGS #107

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Users may need to set LDFLAGS for correct linking, especially with custom
installations in non-standard prefixes.  mod_wsgi doesn't.  This patch is
against 2.3, but trunk has the same problem, and the patch should be easy
to merge.

Original issue reported on code.google.com by e...@pretzelnet.org on 12 Sep 2008 at 5:39

Attachments:

GoogleCodeExporter commented 9 years ago
Following convention of some configure scripts, should this also be done for 
CPPFLAGS as well?

Original comment by Graham.Dumpleton@gmail.com on 12 Sep 2008 at 7:18

GoogleCodeExporter commented 9 years ago
Yes, and CFLAGS as well.  I forgot to go from "patch this to fix my build" to 
"make
the patch correct" :).  That's also why it's against 2.3, not trunk.

Original comment by e...@pretzelnet.org on 13 Sep 2008 at 7:31

GoogleCodeExporter commented 9 years ago
Possibly need to do LDLIBS as well since mod_wsgi makefiles separate LDFLAGS 
and LDLIBS. Technically stuff for 
LDLIBS would work in LDFLAGS unless there is an ordering issue.

Original comment by Graham.Dumpleton@gmail.com on 16 Sep 2008 at 11:22

GoogleCodeExporter commented 9 years ago
Example of where LDFLAGS/LDLIBS required is Apache/Python 2.6/Ubuntu 8.04. In 
that case, seems that maths 
library not linked to Apache. Not sure if this is binary distribution of Apache 
or some users own build of it. If it is 
binary distribution, that would also cause problems with mod_python and 
possibly other third party Apache 
modules. See:

 http://groups.google.com/group/modwsgi/browse_frm/thread/3d884f523ea9863f?hl=en

May just be safer to link mod_wsgi against math library to avoid problem.

Original comment by Graham.Dumpleton@gmail.com on 16 Sep 2008 at 11:28

GoogleCodeExporter commented 9 years ago
Allow CPPFLAGS, LDFLAGS and LDLIBS to be extended in revision 1071 of trunk for 
3.0.

Original comment by Graham.Dumpleton@gmail.com on 17 Sep 2008 at 10:55

GoogleCodeExporter commented 9 years ago

Original comment by Graham.Dumpleton@gmail.com on 17 Sep 2008 at 10:55

GoogleCodeExporter commented 9 years ago

Original comment by Graham.Dumpleton@gmail.com on 17 Sep 2008 at 10:55

GoogleCodeExporter commented 9 years ago
Backported to 2.X stream for 2.4 in revision 1252.

Original comment by Graham.Dumpleton@gmail.com on 20 Mar 2009 at 11:28

GoogleCodeExporter commented 9 years ago
Version 2.4 of mod_wsgi now released.

Original comment by Graham.Dumpleton@gmail.com on 11 Apr 2009 at 10:25