From 5b5f4e124b712c6d6775020b9400914be7130cf8 Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 8 Jan 2019 23:07:00 -0500 Subject: [PATCH] good enough fix #652 --- unit_tests/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/unit_tests/Makefile b/unit_tests/Makefile index e23e213892..dadadc8458 100644 --- a/unit_tests/Makefile +++ b/unit_tests/Makefile @@ -237,7 +237,13 @@ DINCDIR = DLIBDIR = # List all default libraries here -DLIBS = -static-libgcc -static -static-libstdc++ +ifeq ($(OS),Windows_NT) + # Windows + DLIBS = -static-libgcc -static -static-libstdc++ +else + # Linux + DLIBS = -pthread +endif # # End of default section