Title: Change the install location of
Type: compile error Stage:
Components: Cross-Build Versions: Python 3.4
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: thomas-petazzoni
Priority: normal Keywords: patch

Created on 2014-01-09 23:03 by thomas-petazzoni, last changed 2014-02-13 20:44 by thomas-petazzoni. This issue is now closed.

File name Uploaded Description Edit thomas-petazzoni, 2014-01-09 23:03
Messages (2)
msg207807 - (view) Author: Thomas Petazzoni (thomas-petazzoni) Date: 2014-01-09 23:03
The module contains definitions that are needed when building Python modules. In cross-compilation mode, when building Python extensions for the target, we need to use the of the target Python while executing the host Python.

However until now, the module was installed in build/lib.<arch>-<version> directory, together with a number of architecture-specific shared objects, which cannot be used with the host Python.

To solve this problem, this patch moves to a separate location, build/sysconfigdata.<arch>-<version>/, and only this directory gets added to the PYTHONPATH of the host Python interpreter when building Python modules for the target.
msg211169 - (view) Author: Thomas Petazzoni (thomas-petazzoni) Date: 2014-02-13 20:44
The patch is not working as it should be, so I withdraw it for the moment.
Date User Action Args
2014-02-13 20:44:12thomas-petazzonisetstatus: open -> closed

messages: + msg211169
2014-01-09 23:03:48thomas-petazzonicreate