From 65c41cc58d341672f6e55b40488729c8f7b6fbf2 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Tue, 28 Feb 2017 11:01:01 -0500 Subject: config.mk.in: Disable terminfo support on iOS Test Plan: Validate Reviewers: angerman, austin, rwbarton Subscribers: thomie, snowleopard Differential Revision: https://phabricator.haskell.org/D3242 --- mk/config.mk.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'mk') diff --git a/mk/config.mk.in b/mk/config.mk.in index 0fad90c32b..729abfabef 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -103,10 +103,13 @@ GhcProfiled=NO # WITH_TERMINFO can be used to disable terminfo support throughout the compiler # and its tools. This is handy in the case of cross-compilation, where we may # not have an ncurses build for the target. -ifeq "$(Windows_Target)" "NO" -WITH_TERMINFO=YES -else +ifeq "$(TargetOS_CPP)" "ios" +# iOS has no terminfo support +WITH_TERMINFO=NO +else ifeq "$(Windows_Target)" "YES" WITH_TERMINFO=NO +else +WITH_TERMINFO=YES endif ifeq "$(findstring $(TargetOS_CPP),linux freebsd dragonfly openbsd netbsd solaris2 kfreebsdgnu haiku linux-android)" "" -- cgit v1.2.1