summaryrefslogtreecommitdiff
path: root/rules/build-package-data.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules/build-package-data.mk')
-rw-r--r--rules/build-package-data.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/rules/build-package-data.mk b/rules/build-package-data.mk
index 2e610014a2..494b89afc5 100644
--- a/rules/build-package-data.mk
+++ b/rules/build-package-data.mk
@@ -77,6 +77,14 @@ ifneq "$$(GMP_LIB_DIRS)" ""
$1_$2_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="$$(GMP_LIB_DIRS)"
endif
+ifneq "$$(CURSES_INCLUDE_DIRS)" ""
+$1_$2_CONFIGURE_OPTS += --configure-option=--with-curses-includes="$$(CURSES_INCLUDE_DIRS)"
+endif
+
+ifneq "$$(CURSES_LIB_DIRS)" ""
+$1_$2_CONFIGURE_OPTS += --configure-option=--with-curses-libraries="$$(CURSES_LIB_DIRS)"
+endif
+
ifeq "$$(CrossCompiling)" "YES"
$1_$2_CONFIGURE_OPTS += --configure-option=--host=$(TargetPlatformFull)
endif