blob: ceeb82991098e6925c95b0d1722a6e564ccbce74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
https://bugs.gentoo.org/459512
--- ocaml-4.04.2/configure
+++ ocaml-4.04.2/configure
@@ -1095,7 +1095,7 @@
# For the terminfo module
if test "$with_curses" = "yes"; then
- for libs in "" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do
+ for libs in "" "-ltinfo" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do
if sh ./hasgot $libs tgetent tgetstr tgetnum tputs; then
inf "termcap functions found (with libraries '$libs')"
echo "#define HAS_TERMCAP" >> s.h
|