| 1 |
On FreeBSD the openpty() function is provided by libutil. For this rason, it
|
| 2 |
has to be linked in the final executable. The current test is broken because
|
| 3 |
it sets LIBS but that variable never gets into the Makefile.
|
| 4 |
|
| 5 |
--- readline-5.1/examples/rlfe/Makefile.in
|
| 6 |
+++ readline-5.1/examples/rlfe/Makefile.in
|
| 7 |
@@ -25,7 +25,7 @@ CFLAGS = @CFLAGS@
|
| 8 |
CPPFLAGS = @CPPFLAGS@
|
| 9 |
#LDFLAGS = -L$(READLINE_DIR)
|
| 10 |
LDFLAGS = @LDFLAGS@ -L../..
|
| 11 |
-LIBS = -lreadline -lhistory -lncurses
|
| 12 |
+LIBS = -lreadline -lhistory @LIBS@
|
| 13 |
|
| 14 |
CPP=@CPP@
|
| 15 |
CPP_DEPEND=$(CC) -MM
|