compiling against ncursesw to display UTF-8 chars correctly, fixes #19
authorMichael Göhler <somebody.here@gmx.de>
Fri, 19 Sep 2014 20:26:22 +0000 (22:26 +0200)
committerMichael Göhler <somebody.here@gmx.de>
Fri, 19 Sep 2014 20:26:22 +0000 (22:26 +0200)
Makefile
README.md

index 1d4ce07..64ecee4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@
 
 CFLAGS   = -O3 -Wall
 LDFLAGS  = -s
-LDLIBS   = -lncurses
+LDLIBS   = -lncursesw
 OBJECTS  = cstring.o cstack.o markdown.o parser.o viewer.o mdp.o
 DESTDIR ?= /usr/bin
 
index c7b10cf..a5a9e7c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -7,9 +7,9 @@
 
 *How to get started:*
 
-mdp needs the ncurses headers to compile.
+mdp needs the ncursesw headers to compile.
 So make sure you have them installed:
-- On Ubuntu you need ```libncurses5``` and ```libncurses5-dev``` to be installed.
+- On Ubuntu you need ```libncursesw5``` and ```libncursesw5-dev``` to be installed.
 
 Now download and install mdp: