From 210a02e1051d9f5b6f03c24714ab86ac936bc41d Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 2 Jan 2014 15:50:33 +0000 Subject: [PATCH] unix: revert Makefile to not use -ltermcap. termcap is not needed on Linux. Need to work out how to automatically configure the Makefile... --- unix/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/unix/Makefile b/unix/Makefile index 3ff32cd85c..492962c8c7 100644 --- a/unix/Makefile +++ b/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 -ltermcap +LDFLAGS = -lm SRC_C = \ main.c \ @@ -59,6 +59,8 @@ PY_O = \ OBJ = $(addprefix $(BUILD)/, $(SRC_C:.c=.o) $(PY_O)) LIB = -lreadline +# the following is needed for BSD +#LIB += -ltermcap PROG = py $(PROG): $(BUILD) $(OBJ)