2018-03-06 19:57:00 +00:00
|
|
|
modules-$(CONFIG_CAIRO) += libpng
|
|
|
|
|
|
|
|
libpng_version := 1.6.34
|
|
|
|
libpng_dir := libpng-$(libpng_version)
|
|
|
|
libpng_tar := libpng-$(libpng_version).tar.gz
|
2020-06-03 20:42:40 +00:00
|
|
|
libpng_url := https://github.com/glennrp/libpng-releases/raw/master/$(libpng_tar)
|
2018-03-06 19:57:00 +00:00
|
|
|
libpng_hash := 574623a4901a9969080ab4a2df9437026c8a87150dfd5c235e28c94b212964a7
|
|
|
|
|
|
|
|
libpng_configure := \
|
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
./configure \
|
2021-07-18 17:34:20 +00:00
|
|
|
--host $(MUSL_ARCH)-elf-linux \
|
2018-03-06 19:57:00 +00:00
|
|
|
--prefix="/" \
|
|
|
|
|
|
|
|
libpng_target := \
|
|
|
|
$(MAKE_JOBS) \
|
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
DESTDIR="$(INSTALL)" \
|
|
|
|
install \
|
|
|
|
|
|
|
|
libpng_libraries := .libs/libpng16.so.16
|
|
|
|
|
|
|
|
libpng_depends := zlib $(musl_dep)
|