Summary: | add python path for cross compiling | ||
---|---|---|---|
Product: | dbus | Reporter: | Robert Schwebel <r.schwebel> |
Component: | python | Assignee: | Simon McVittie <smcv> |
Status: | RESOLVED FIXED | QA Contact: | John (J5) Palmieri <johnp> |
Severity: | normal | ||
Priority: | medium | CC: | mkl |
Version: | unspecified | Keywords: | patch |
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | patch to add --with-python-includes for cross compilation |
Description
Robert Schwebel
2009-04-02 13:45:38 UTC
For the sake of a concrete example, suppose you have Python 2.6 in --prefix=/opt/misc and want to use that (hence you need something like "-I/opt/misc/include/python2.6" in your CPPFLAGS). It seems your patch results in this usage: ./configure --with-python-includes=/opt/misc/include which I find surprising - I'd have expected to have to include the Python-version-specific part as well. I've applied a patch which instead results in this usage: ./configure PYTHON_INCLUDES="-I/opt/misc/include/python2.6" which is consistent with how you'd override PYTHON, DBUS_CFLAGS and so on. Since you reported this bug I'd added a use of PYTHON_LIBS, so I've allowed that to be overridden in the same way. Fixed in git for 0.84.0. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.