summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index c3a339b6..e01c4dc9 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3,7 +3,14 @@ objects := $(addprefix ., $(sources:.cc=.o))
deps := $(addprefix ., $(sources:.cc=.d))
CXXFLAGS += -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -pedantic
-LIBS += -lncursesw -lboost_regex
+LIBS += -lncursesw
+
+os := $(shell uname -o)
+ifeq ($(os),Cygwin)
+ LIBS += -lboost_regex-mt
+else
+ LIBS += -lboost_regex
+endif
debug ?= yes
ifeq ($(debug),yes)