mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
Automatically add include paths for ncurses on Cygwin
This commit is contained in:
committed by
ridiculousfish
parent
fa68c2619f
commit
cd7f1a15f8
10
configure.ac
10
configure.ac
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user