package/freeswitch: add optional dependency to freetype
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 17 Apr 2016 15:24:29 +0000 (17:24 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 17 Apr 2016 20:17:11 +0000 (22:17 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/freeswitch/freeswitch.mk

index 6a5a2c6b28c6a4798eb0b3ebcb0fd954eb7165da..cfa67dcbfc17cafdd1a697ffeb4592f298e52fe8 100644 (file)
@@ -158,6 +158,10 @@ define FREESWITCH_ENABLE_MODULES
 endef
 FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES
 
+ifeq ($(BR2_PACKAGE_FREETYPE),y)
+FREESWITCH_DEPENDENCIES += freetype
+endif
+
 ifeq ($(BR2_PACKAGE_LIBEDIT),y)
 FREESWITCH_DEPENDENCIES += libedit
 FREESWITCH_CONF_OPTS += --enable-core-libedit-support