| Issue 218: | current tip does not honor build_ext -I -L flags | |
| 1 person starred this issue and may be notified of changes. | Back to list |
To build pyodbc against a custom odbc library, you must either do:
export CFLAGS='-I/path/to/custom/include -L/path/to/custom/lib'
or use build_ext flags:
python setup.py build_ext -I/path/to/custom/include -L/path/to/custom/lib
as of the latest tip, the latter method is impossible because setup.py is calling a "sub" setup for the "pyodbcconf" utility, which it builds unconditionally against the wrong libraries. I'd reconsider a build arch like this as it's highly complicated for the build to depend on another native library build *within* it just to configure.
Oct 16, 2011
Project Member
#1
mkleehammer
Status:
Investigating
Nov 2, 2011
Removed pyodbcconf in 3.0.1
Status:
Complete
|