Skip to content

Commit

Permalink
Applied Graham's setup.py.in-2.diff patch to fix Mac OSX compile prob…
Browse files Browse the repository at this point in the history
…lems.

Ref MODPYTHON-65
  • Loading branch information
jgallacher committed Aug 20, 2005
1 parent f5896f7 commit 804ba37
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions dist/setup.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,13 @@ import string
from distutils import sysconfig

if sys.platform == "darwin":
sysconfig._config_vars["LDSHARED"] = \
string.replace(sysconfig.get_config_var("LDSHARED"), \
" -bundle "," -bundle -flat_namespace -undefined suppress ")
sysconfig._config_vars["BLDSHARED"] = \
string.replace(sysconfig.get_config_var("BLDSHARED"), \
" -bundle "," -bundle -flat_namespace -undefined suppress ")
if not '-undefined' in sysconfig.get_config_var("LDSHARED").split():
sysconfig._config_vars["LDSHARED"] = \
string.replace(sysconfig.get_config_var("LDSHARED"), \
" -bundle "," -bundle -flat_namespace -undefined suppress ")
sysconfig._config_vars["BLDSHARED"] = \
string.replace(sysconfig.get_config_var("BLDSHARED"), \
" -bundle "," -bundle -flat_namespace -undefined suppress ")

setup(name="mod_python",
version=VER,
Expand Down
4 changes: 2 additions & 2 deletions src/include/mpversion.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define MPV_MAJOR 3
#define MPV_MINOR 2
#define MPV_PATCH 0
#define MPV_BUILD 20050816
#define MPV_STRING "3.2.0-dev-20050816"
#define MPV_BUILD 20050820
#define MPV_STRING "3.2.0-dev-20050820"

0 comments on commit 804ba37

Please sign in to comment.