#18156: Python & python-packages fail to build
-----------------------+------------------------
  Reporter:  42@…      |      Owner:  developers
      Type:  defect    |     Status:  new
  Priority:  high      |  Milestone:
 Component:  packages  |    Version:  Trunk
Resolution:            |   Keywords:
-----------------------+------------------------

Comment (by anonymous):

 Replying to [ticket:18156 42@…]:
 > When compiling a python-package for the sunxi platform:
 http://paste.scratchbook.ch/view/raw/82e8204f
 Same error on ar71xx platform.

 The host-side gcc is being invoked instead of the target-side gcc, and
 editing the "python-package.mk" file to adding CC=$(TARGET_CC) at
 Build/Compile/PyMod definition does not work, as hostpython passes to the
 target compiler the include path of the host-side python installation (the
 "staging_dir/host/include/python2.7" include path) instead of the include
 path of the target-side python installation.

--
Ticket URL: <https://dev.openwrt.org/ticket/18156#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to