Permalink
Browse files

do proper configuration for libncursesw.

  • Loading branch information...
1 parent eba57af commit ee43b02389943364ef74fe318f07f89f7b7a0bff @akrennmair committed Apr 4, 2011
Showing with 4 additions and 3 deletions.
  1. +2 −1 config.sh
  2. +1 −1 src/controller.cpp
  3. +1 −1 src/view.cpp
View
3 config.sh
@@ -98,7 +98,8 @@ echo "" >> config.mk
check_pkg "sqlite3" || fail "sqlite3"
check_pkg "libcurl" || check_custom "libcurl" "curl-config" || fail "libcurl"
check_pkg "libxml-2.0" || check_custom "libxml2" "xml2-config" || fail "libxml2"
-check_pkg "stfl" "" "--static" || fail "stfl"
+check_pkg "stfl" || fail "stfl"
check_pkg "json" || fail "json"
+check_custom "ncursesw5" "ncursesw5-config" || fail "ncursesw5"
check_ssl_implementation
all_aboard_the_fail_boat
View
2 src/controller.cpp
@@ -39,7 +39,7 @@
#include <sys/stat.h>
#include <pwd.h>
-#include <ncursesw/ncurses.h>
+#include <ncurses.h>
#include <libxml/xmlversion.h>
#include <libxml/parser.h>
View
2 src/view.cpp
@@ -40,7 +40,7 @@
#include <config.h>
#include <sys/param.h>
#include <string.h>
-#include <ncursesw/ncurses.h>
+#include <ncurses.h>
extern "C" {

0 comments on commit ee43b02

Please sign in to comment.