From bfbb44d994434c2b0c1c8a8d50f35fa74ea49d81 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 7 Nov 2013 18:49:12 +0000 Subject: [PATCH] Makefile: use boost_regex-mt on Cygwin --- src/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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)