libcdio: cdda-player depends on ncurses
authorBernd Kuhls <berndkuhls@hotmail.com>
Sat, 25 Jan 2014 17:53:14 +0000 (18:53 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 27 Jan 2014 20:52:18 +0000 (21:52 +0100)
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libcdio/libcdio.mk

index 07cb987edc520d246b83f521f4a44ef555748b00..2e3e2cf6e3194ff456494df048a0cc3f382dbfe6 100644 (file)
@@ -15,4 +15,10 @@ ifeq ($(BR2_ENABLE_LOCALE),)
 LIBCDIO_DEPENDENCIES += libiconv
 endif
 
+ifeq ($(BR2_PACKAGE_NCURSES),y)
+LIBCDIO_DEPENDENCIES += ncurses
+else
+LIBCDIO_CONF_OPT += --without-cdda-player
+endif
+
 $(eval $(autotools-package))