[Buildroot] [PATCH 2/3] libxcb: fix path to Python modules
Peter Korsgaard
jacmet at uclibc.org
Thu May 6 08:59:18 UTC 2010
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
Thomas> When building libxcb, the variable XCBPROTO_XCBPYTHONDIR must point to
Thomas> the location where the Python modules needed to run the c_client.py
Thomas> program are installed. The path
Thomas> $(STAGING_DIR)/usr/lib/python2.6/site-packages was hardcoded. However,
Thomas> it doesn't work when the version of Python installed on the host is
Thomas> Python 2.5.
So we depend on python being available on the host? Shouldn't we just
use the hostpython stuff we already have and E.G
$(PYTHON_VERSION_MAJOR)?
Alternatively we should probably add a check in libxcb.mk and print an
$(error if it isn't there.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list