mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/python-pillow: set new build options
Explicitly set new imagequant, raqm and zlib build options.
Fixes: baa3db0c34
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
a97a592a73
commit
66f66bbdb5
@@ -14,7 +14,10 @@ PYTHON_PILLOW_CPE_ID_PRODUCT = pillow
|
|||||||
PYTHON_PILLOW_SETUP_TYPE = setuptools
|
PYTHON_PILLOW_SETUP_TYPE = setuptools
|
||||||
|
|
||||||
PYTHON_PILLOW_DEPENDENCIES = host-pkgconf
|
PYTHON_PILLOW_DEPENDENCIES = host-pkgconf
|
||||||
PYTHON_PILLOW_BUILD_OPTS = -Cplatform-guessing=disable
|
PYTHON_PILLOW_BUILD_OPTS = \
|
||||||
|
-Cplatform-guessing=disable \
|
||||||
|
-Cimagequant=disable \
|
||||||
|
-Craqm=disable
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_FREETYPE),y)
|
ifeq ($(BR2_PACKAGE_FREETYPE),y)
|
||||||
PYTHON_PILLOW_DEPENDENCIES += freetype
|
PYTHON_PILLOW_DEPENDENCIES += freetype
|
||||||
@@ -65,4 +68,11 @@ else
|
|||||||
PYTHON_PILLOW_BUILD_OPTS += -Cwebp=disable
|
PYTHON_PILLOW_BUILD_OPTS += -Cwebp=disable
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||||
|
PYTHON_PILLOW_DEPENDENCIES += zlib
|
||||||
|
PYTHON_PILLOW_BUILD_OPTS += -Czlib=enable
|
||||||
|
else
|
||||||
|
PYTHON_PILLOW_BUILD_OPTS += -Czlib=disable
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(python-package))
|
$(eval $(python-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user