[build] Link libncursesw when building 64-bit linux binary

Close #376
This commit is contained in:
Junegunn Choi 2015-10-12 16:02:01 +09:00
parent 486b87d821
commit b4ce89bbf5

View File

@ -4,7 +4,7 @@ package curses
#include <ncurses.h>
#include <locale.h>
#cgo !static LDFLAGS: -lncurses
#cgo static LDFLAGS: -l:libncurses.a -l:libtinfo.a -l:libgpm.a -ldl
#cgo static LDFLAGS: -l:libncursesw.a -l:libtinfo.a -l:libgpm.a -ldl
*/
import "C"