aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-08-25 22:39:06 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-08-25 22:39:06 +0100
commit19122bb19530975e8baf96316df74836d17caeda (patch)
treef5a4114b1972423f7be4d99aed61b93b509324a1
parent0bafe17082694ad30a5463f184fae681308ac5c5 (diff)
downloadtermo-19122bb19530975e8baf96316df74836d17caeda.tar.gz
termo-19122bb19530975e8baf96316df74836d17caeda.tar.xz
termo-19122bb19530975e8baf96316df74836d17caeda.zip
Link against -lcurses not -lncurses, because these two might be different on some OSes (e.g. Solaris) - Petr Pavlu
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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 $@ $^