Commit 1c398c43 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

contrib: build libpng only if needed

parent 130f1b7b
...@@ -3,6 +3,9 @@ PNG_VERSION := 1.4.7 ...@@ -3,6 +3,9 @@ PNG_VERSION := 1.4.7
PNG_URL := $(SF)/libpng/libpng-$(PNG_VERSION).tar.bz2 PNG_URL := $(SF)/libpng/libpng-$(PNG_VERSION).tar.bz2
PKGS += png PKGS += png
ifeq ($(call need_pkg,"libpng"),)
PKGS_FOUND += png
endif
$(TARBALLS)/libpng-$(PNG_VERSION).tar.bz2: $(TARBALLS)/libpng-$(PNG_VERSION).tar.bz2:
$(call download,$(PNG_URL)) $(call download,$(PNG_URL))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment