summaryrefslogtreecommitdiff
path: root/package/slang/slang.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/slang/slang.mk')
-rw-r--r--package/slang/slang.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/slang/slang.mk b/package/slang/slang.mk
index c6f0383..d943de3 100644
--- a/package/slang/slang.mk
+++ b/package/slang/slang.mk
@@ -13,6 +13,12 @@ SLANG_LICENSE_FILES = COPYING
SLANG_INSTALL_STAGING = YES
SLANG_MAKE = $(MAKE1)
+ifeq ($(BR2_PACKAGE_NCURSES),y)
+ SLANG_DEPENDENCIES = ncurses
+else
+ SLANG_CONF_OPT = ac_cv_path_nc5config=no
+endif
+
# The installation location of the slang library
# does not take into account the DESTDIR directory.
# So SLANG_INST_LIB is initialized with -L/usr/lib/