diff --git a/src/Makefile b/src/Makefile index 7ff4eb00..8fe4a46f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -19,7 +19,7 @@ else LIBS += -lncursesw endif -ifeq ($(os),Cygwin) +ifneq (,$(findstring CYGWIN,$(os))) LIBS += -lboost_regex-mt else ifeq ($(os),Darwin) LIBS += -lboost_regex-mt