Hi Michael,

thanks for suggestions (and before you notice, there's more to fix than
those undefined symbols - dependencies are missing as well, so it is easy
to produce configuration which does not make much sense :))

Meanwhile I looked into gpsd's SConstruct file:
https://gitlab.com/gpsd/gpsd/blob/master/SConstruct#L1191
As I'm passing CROSS_PYTHON3 as target_python and CROSS_PYTHON3
is a script, sys.executable returns path to host-python and
all that configuration queried later using host-python
is wrong. Simply dropping this line fixes it.

https://gitlab.com/gpsd/gpsd/blob/master/SConstruct#L1705
Here our cross-python wrapper returns
INCLUDEPY = "/usr/include/python3.7m"
which is of course wrong for cross-compilation.

Above two changes are enough to cross-compile package...

_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to