[vlc-commits] contrib: build flac only if needed
Rémi Denis-Courmont
git at videolan.org
Mon Jul 4 16:43:44 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 4 15:05:33 2011 +0300| [034c155f038f889ba755a3aa88b042b558ff4022] | committer: Rémi Denis-Courmont
contrib: build flac only if needed
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=034c155f038f889ba755a3aa88b042b558ff4022
---
contrib/src/flac/rules.mak | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/contrib/src/flac/rules.mak b/contrib/src/flac/rules.mak
index 2d4311f..9e46664 100644
--- a/contrib/src/flac/rules.mak
+++ b/contrib/src/flac/rules.mak
@@ -4,6 +4,9 @@ FLAC_VERSION := 1.2.1
FLAC_URL := $(SF)/flac/flac-$(FLAC_VERSION).tar.gz
PKGS += flac
+ifeq ($(call need_pkg,"flac"),)
+PKGS_FOUND += flac
+endif
$(TARBALLS)/flac-$(FLAC_VERSION).tar.gz:
$(call download,$(FLAC_URL))
More information about the vlc-commits
mailing list