Skip to content

Commit 747e810

Browse files
Version of Python library not always correctly detected by setup.py. #14
1 parent 80ef485 commit 747e810

File tree

4 files changed

+32
-9
lines changed

4 files changed

+32
-9
lines changed

docs/index.rst

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
:width: 250 px
33
:align: right
44

5+
.. toctree::
6+
:maxdepth: 1
7+
:hidden:
8+
9+
release-notes/index
10+
511
mod_wsgi
612
========
713

@@ -29,11 +35,3 @@ If you need help in using mod_wsgi, then use the mod_wsgi mailing list to
2935
ask your questions:
3036

3137
http://groups.google.com/group/modwsgi
32-
33-
Contents
34-
========
35-
36-
.. toctree::
37-
:maxdepth: 1
38-
39-
release-notes/index

docs/release-notes/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Release Notes
55
.. toctree::
66
:maxdepth: 2
77

8+
version-4.1.3.rst
89
version-4.1.2.rst
910
version-4.1.1.rst
1011
version-4.1.0.rst

docs/release-notes/version-4.1.3.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
=============
2+
Version 4.1.3
3+
=============
4+
5+
Version 4.1.3 of mod_wsgi can be obtained from:
6+
7+
https://github.com/GrahamDumpleton/mod_wsgi/archive/4.1.3.tar.gz
8+
9+
Known Issues
10+
------------
11+
12+
1. The makefiles for building mod_wsgi on Windows are currently broken and
13+
need updating. As most new changes relate to mod_wsgi daemon mode, which is
14+
not supported under Windows, you should keep using the last available
15+
binary for version 3.X on Windows instead.
16+
17+
Bugs Fixed
18+
----------
19+
20+
1. The ``setup.py`` file wasn't always detecting the Python library version
21+
suffix properly when setting it up to be linked into the resulting
22+
``mod_wsgi.so``. This would cause an error message at link time of::
23+
24+
/usr/bin/ld: cannot find -lpython

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def get_apxs_config(query):
8888
# Work out location of Python library and how to link it.
8989

9090
PYTHON_VERSION = get_python_config('VERSION')
91-
PYTHON_LDVERSION = get_python_config('LDVERSION') or ''
91+
PYTHON_LDVERSION = get_python_config('LDVERSION') or PYTHON_VERSION
9292

9393
PYTHON_LIBDIR = get_python_config('LIBDIR')
9494
PYTHON_CFGDIR = get_python_lib(plat_specific=1, standard_lib=1) + '/config'

0 commit comments

Comments
 (0)