From 24ceff38683df56914be33d234365d779caa0225 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 17 Apr 2016 17:24:27 +0200 Subject: [PATCH] package/freeswitch: add optional dependency to libpng Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/freeswitch/freeswitch.mk | 5 +++++ 1 file changed, 5 insertions(+) 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)) -- 2.30.2