From c0eacf8e85003844b95e71b9004fa464d4586a38 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 14 Oct 2021 22:19:26 +0200 Subject: Use dependency system and build system for compiling ctor on config changes. --- test/ctor.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/ctor.cc') diff --git a/test/ctor.cc b/test/ctor.cc index 3d05e7f..61c3515 100644 --- a/test/ctor.cc +++ b/test/ctor.cc @@ -22,6 +22,7 @@ BuildConfigurations ctorTestConfigs() "-I../src", "-Iuunit", "-DOUTPUT=\"execute\"", }, + .ldflags = { "-pthread" }, }, { .type = TargetType::UnitTest, @@ -36,6 +37,7 @@ BuildConfigurations ctorTestConfigs() "-I../src", "-Iuunit", "-DOUTPUT=\"tasks\"", }, + .ldflags = { "-pthread" }, }, { .type = TargetType::UnitTest, @@ -50,6 +52,7 @@ BuildConfigurations ctorTestConfigs() "-I../src", "-Iuunit", "-DOUTPUT=\"source_type\"", }, + .ldflags = { "-pthread" }, }, }; } -- cgit v1.2.3