package/freeswitch: add optional dependency to libpng

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bernd Kuhls 2016-04-17 17:24:27 +02:00 committed by Thomas Petazzoni
parent db6f22059e
commit 24ceff3868

View File

@ -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))