[Buildroot] [PATCH] python: fix to ensure libpython is stripped

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Feb 13 21:08:54 UTC 2014


Dear Przemyslaw Wrzos,

On Thu, 23 Jan 2014 14:40:38 +1100, Przemyslaw Wrzos wrote:
> The python and python3 builds mark libpython as read-only which
> prevents it from being stripped out correctly for the target.
> 
> Signed-off-by: Przemyslaw Wrzos <przemyslaw.wrzos at calyptech.com>
> ---
>  package/python/python.mk   | 9 +++++++++
>  package/python3/python3.mk | 9 +++++++++
>  2 files changed, 18 insertions(+)
> 
>  NOTE: Resubmitting as part of patchwork cleanup #6.

I have integrated this patch into the large set of Python patches I've
posted at
http://lists.busybox.net/pipermail/buildroot/2014-February/089309.html.

However, I agree with Thomas De Schampheleire that this specific patch
should be merged for 2014.02, as it fixes a real problem, and gives a
nice size reduction.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list