diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2023-05-27 19:43:57 +0800 |
|---|---|---|
| committer | Rosen Penev <rosenp@gmail.com> | 2023-05-28 09:30:31 +0300 |
| commit | b76fa19b26027f8472617598c19b9e071eef81bb (patch) | |
| tree | 314d74d7a60145e01b596344d8f6fd9d8da7a21f /lang/python/pillow | |
| parent | 0e34107963e3d503ed4dd7a9b9dc6b75596d5474 (diff) | |
python-packages: Replace --global-option with --build-option
setuptools 64.0.0 deprecated the use of --global-option to pass build
parameters[1]. This replaces the use of --global-option with
--build-option.
[1]: https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6400
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/pillow')
| -rw-r--r-- | lang/python/pillow/Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lang/python/pillow/Makefile b/lang/python/pillow/Makefile index 941f28f4e..753ceec25 100644 --- a/lang/python/pillow/Makefile +++ b/lang/python/pillow/Makefile @@ -37,17 +37,17 @@ define Package/python3-pillow/description endef PYTHON3_PKG_BUILD_CONFIG_SETTINGS += \ - --global-option=build_ext \ - --global-option=--enable-zlib \ - --global-option=--enable-jpeg \ - --global-option=--enable-webp \ - --global-option=--enable-webpmux \ - --global-option=--enable-tiff \ - --global-option=--enable-freetype \ - --global-option=--disable-lcms \ - --global-option=--disable-jpeg2000 \ - --global-option=--disable-imagequant \ - --global-option=--disable-platform-guessing + --build-option=build_ext \ + --build-option=--enable-zlib \ + --build-option=--enable-jpeg \ + --build-option=--enable-webp \ + --build-option=--enable-webpmux \ + --build-option=--enable-tiff \ + --build-option=--enable-freetype \ + --build-option=--disable-lcms \ + --build-option=--disable-jpeg2000 \ + --build-option=--disable-imagequant \ + --build-option=--disable-platform-guessing $(eval $(call Py3Package,python3-pillow)) $(eval $(call BuildPackage,python3-pillow)) |
