Browse Source

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.
pull/28/head
Edd Barrett 11 years ago
parent
commit
0d02eb178a
  1. 2
      unix/Makefile

2
unix/Makefile

@ -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…
Cancel
Save