[Buildroot] [PATCH v5 1/1] package/python-pillow: fix pkg-config search paths

Peter Korsgaard peter at korsgaard.com
Sat May 28 08:09:19 UTC 2022


>>>>> "James" == James Hilliard <james.hilliard1 at gmail.com> writes:

 > Currently pillow doesn't correctly search pkg-config system paths
 > for some libraries which can prevent some libraries from being
 > properly detected/enabled in pillow.

 > This is due to pillow implementing custom header validation
 > checks which need system paths present to function correctly:
 > https://github.com/python-pillow/Pillow/blob/9.0.1/setup.py#L633

 > Removed custom BUILD_CMDS and INSTALL_TARGET_CMDS which were
 > causing python-pillow to be installed for the host, they are
 > not required, we just need to set build_ext at the start
 > of PYTHON_PILLOW_BUILD_OPTS instead.

 > Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
 > ---
 > Changes v4 -> v5:
 >   - use backported upstream patch
 > Changes v3 -> v4:
 >   - pass BUILD_OPTS to INSTALL_TARGET_OPTS
 > Changes v2 -> v3:
 >   - actually remove MAX_CONCURRENCY env variable
 > Changes v1 -> v2:
 >   - remove unrelated MAX_CONCURRENCY env variable

Committed to 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list