Fix undefined termcap symbols on OpenBSD.
E.g.: /usr/lib/libreadline.so.4.0: undefined reference to `tgetnum' /usr/lib/libreadline.so.4.0: undefined reference to `tgoto' /usr/lib/libreadline.so.4.0: undefined reference to `tgetflag' /usr/lib/libreadline.so.4.0: undefined reference to `tputs' /usr/lib/libreadline.so.4.0: undefined reference to `tgetent' /usr/lib/libreadline.so.4.0: undefined reference to `tgetstr' Tested on linux too, works.
This commit is contained in:
parent
67ab5ee779
commit
0d02eb178a
|
@ -3,7 +3,7 @@ BUILD=build
|
|||
|
||||
CC = gcc
|
||||
CFLAGS = -I. -I$(PYSRC) -Wall -Werror -ansi -std=gnu99 -Os -DUSE_READLINE #-DNDEBUG
|
||||
LDFLAGS = -lm
|
||||
LDFLAGS = -lm -ltermcap
|
||||
|
||||
SRC_C = \
|
||||
main.c \
|
||||
|
|
Loading…
Reference in New Issue