From: Bernd Kuhls Date: Sun, 17 Apr 2016 15:24:27 +0000 (+0200) Subject: package/freeswitch: add optional dependency to libpng X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24ceff38683df56914be33d234365d779caa0225;p=buildroot.git package/freeswitch: add optional dependency to libpng Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk index 75adc5aed6..c00fc85cfe 100644 --- a/package/freeswitch/freeswitch.mk +++ b/package/freeswitch/freeswitch.mk @@ -171,4 +171,9 @@ FREESWITCH_DEPENDENCIES += libldns FREESWITCH_ENABLED_MODULES += applications/mod_enum endif +ifeq ($(BR2_PACKAGE_LIBPNG),y) +FREESWITCH_DEPENDENCIES += libpng +FREESWITCH_ENABLED_MODULES += formats/mod_png +endif + $(eval $(autotools-package))