From 19122bb19530975e8baf96316df74836d17caeda Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Thu, 25 Aug 2011 22:39:06 +0100 Subject: Link against -lcurses not -lncurses, because these two might be different on some OSes (e.g. Solaris) - Petr Pavlu --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7262633..0dfc2c4 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ LIBRARY=libtermkey.la $(LIBTOOL) --mode=compile --tag=CC gcc $(CFLAGS) $(CFLAGS_DEBUG) -Wall -std=c99 -o $@ -c $< $(LIBRARY): $(OBJECTS) - $(LIBTOOL) --mode=link --tag=CC gcc -rpath $(LIBDIR) -version-info $(VERSION_CURRENT):$(VERSION_REVISION):$(VERSION_AGE) -lncurses -o $@ $^ + $(LIBTOOL) --mode=link --tag=CC gcc -rpath $(LIBDIR) -version-info $(VERSION_CURRENT):$(VERSION_REVISION):$(VERSION_AGE) -lcurses -o $@ $^ demo: $(LIBRARY) demo.lo $(LIBTOOL) --mode=link --tag=CC gcc -o $@ $^ -- cgit v1.2.3-70-g09d2