mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 05:23:39 +08:00
package/python-pillow: fix webp DependencyException
As ofbaa3db0c34
webp mux/demux are no longer optional for webp support in python-pillow. The -Cwebpmux=enable/disable option no longer exists. Fixes: DependencyException: The headers or library files could not be found for webp, which was requested by the option flag --enable-webp Fixes:baa3db0c34
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
parent
012bbb70c2
commit
a97a592a73
@ -58,16 +58,11 @@ else
|
||||
PYTHON_PILLOW_BUILD_OPTS += -Ctiff=disable
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WEBP),y)
|
||||
ifeq ($(BR2_PACKAGE_WEBP)$(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yyy)
|
||||
PYTHON_PILLOW_DEPENDENCIES += webp
|
||||
PYTHON_PILLOW_BUILD_OPTS += -Cwebp=enable
|
||||
ifeq ($(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yy)
|
||||
PYTHON_PILLOW_BUILD_OPTS += -Cwebpmux=enable
|
||||
else
|
||||
PYTHON_PILLOW_BUILD_OPTS += -Cwebpmux=disable
|
||||
endif
|
||||
else
|
||||
PYTHON_PILLOW_BUILD_OPTS += -Cwebp=disable -Cwebpmux=disable
|
||||
PYTHON_PILLOW_BUILD_OPTS += -Cwebp=disable
|
||||
endif
|
||||
|
||||
$(eval $(python-package))
|
||||
|
Loading…
Reference in New Issue
Block a user