Link against -lcurses not -lncurses, because these two might be different on some OSes (e.g. Solaris) - Petr Pavlu
This commit is contained in:
parent
0bafe17082
commit
19122bb195
2
Makefile
2
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 $@ $^
|
||||
|
Loading…
Reference in New Issue
Block a user