Mercurial > p > mysql-python > mysqldb-2
diff setup_posix.py @ 8:fa8974a41c76 MySQLdb
New error handling code, plus some small fixes from 1.2
author | adustman |
---|---|
date | Sun, 11 Feb 2007 21:36:29 +0000 |
parents | b70cce9bd065 |
children | 0e37ee00beb7 |
line wrap: on
line diff
--- a/setup_posix.py Sun Feb 11 07:40:50 2007 +0000 +++ b/setup_posix.py Sun Feb 11 21:36:29 2007 +0000 @@ -49,7 +49,7 @@ libraries = [ dequote(i[2:]) for i in libs if i.startswith(compiler_flag("l")) ] removable_compile_args = [ compiler_flag(f) for f in "ILl" ] - extra_compile_args = [ i for i in mysql_config("cflags") + extra_compile_args = [ i.replace("%", "%%") for i in mysql_config("cflags") if i[:2] not in removable_compile_args ] include_dirs = [ dequote(i[2:]) for i in mysql_config('include')