From 0502f0f2253f223a02338e06de5fa6730d4988bb Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Sun, 10 May 2015 14:47:35 -0700 Subject: [PATCH] Makefile: support OS X system ncurses --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d44a748..b4c6065 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,9 @@ CFLAGS = -W -Wall -pedantic -ansi -std=c99 -g LDFLAGS = -lncursesw +# OS X installs ncurses with wide character support, but not as "libncurses" ifeq ($(shell uname -s),Darwin) - LDFLAGS += -L /opt/local/lib + LDFLAGS = -lncurses endif PREFIX = /usr/local