Merge branch 'master' into death_of_fishd

This commit is contained in:
ridiculousfish
2014-05-09 16:07:11 -07:00
6 changed files with 64 additions and 56 deletions

View File

@@ -213,6 +213,16 @@ if test `uname` != "Darwin"; then
LDFLAGS_FISH="$LDFLAGS_FISH -rdynamic"
fi
#
# On Cygwin, we need to add some flags for ncurses.
#
case `uname` in
CYGWIN*)
echo "adding flags for ncurses on Cygwin"
CXXFLAGS="$CXXFLAGS -I/usr/include -I/usr/include/ncursesw"
LDFLAGS_FISH="$LDFLAGS_FISH -L/usr/lib/ncursesw"
;;
esac
#
# If we are compiling against glibc, set some flags to work around