llvm.org GIT mirror llvm / 8f78249
Swap order of discovering of -ltinfo and -lterminfo Summary: NetBSD ships with native curses(3) and -ltinfo is a part of ncurses. Set -lterminfo before -ltinfo, as it allows to prioritize native curses libraries. Mixing curses and ncurses does not work well, especially in software built on top of llvm. Original patch by Ryo Onodera (NetBSD) in pkgsrc. Reviewers: labath, dim, mgorny Reviewed By: dim, mgorny Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D54650 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347156 91177308-0d34-0410-b5e6-96231b3b80d8 Kamil Rytarowski 10 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
127127 endif()
129129 set(HAVE_TERMINFO 0)
130 foreach(library tinfo terminfo curses ncurses ncursesw)
130 foreach(library terminfo tinfo curses ncurses ncursesw)
131131 string(TOUPPER ${library} library_suffix)
132132 check_library_exists(${library} setupterm "" HAVE_TERMINFO_${library_suffix})
133133 if(HAVE_TERMINFO_${library_suffix})