aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorPaul Elliott <paul.elliott@arm.com>2023-12-11 17:52:03 +0000
committerPaul Elliott <paul.elliott@arm.com>2023-12-18 14:49:34 +0000
commit79dc6dad81a897caca0fe24cfce5be81925e48dc (patch)
tree81933ce3493d93ebed78061e56350e3bf8933069 /tests/Makefile
parent40f0ec246ea68195e74ffe20c3d8f4c700f732d2 (diff)
downloadmbedtls-79dc6dad81a897caca0fe24cfce5be81925e48dc.zip
mbedtls-79dc6dad81a897caca0fe24cfce5be81925e48dc.tar.gz
mbedtls-79dc6dad81a897caca0fe24cfce5be81925e48dc.tar.bz2
Improve make pthread linking mechanism
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 72429a6..29197b7 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -58,7 +58,7 @@ DLEXT ?= so
EXEXT=
SHARED_SUFFIX=
-ifdef PTHREAD
+ifeq ($(THREADING),pthread)
LOCAL_LDFLAGS += -lpthread
endif
endif