From 46cc92bd01163fd7f944e3160a1d892d273e16a5 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 19 Jun 2018 19:51:29 +0200 Subject: [PATCH] Link test executable with dbghelp under cygwin. --- test/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/Makefile b/test/Makefile index 14ee2202..6267b8d7 100644 --- a/test/Makefile +++ b/test/Makefile @@ -12,6 +12,10 @@ SRC := \ OBJ := $(SRC:%.cpp=%.o) +ifeq ($(shell uname -o),Cygwin) +LIBS += -ldbghelp +endif + all: $(IMAGE) %.o: %.cpp