commit | 20a95bc09a540918da70d4e96d8a615cea934692 | [log] [tgz] |
---|---|---|
author | Paul Elliott <paul.elliott@arm.com> | Wed Dec 06 19:24:49 2023 +0000 |
committer | Paul Elliott <paul.elliott@arm.com> | Mon Dec 18 14:49:34 2023 +0000 |
tree | ad94732d9b4ca541490f696cb30371d6439c6345 | |
parent | 6587959a32f978aeb02766c27cf30b04d8a245e1 [diff] [blame] |
Remove explicit linking of PThread in make This would break platforms that do not have pthread. Put the linking instead behind a define and add this define where required to all.sh. Signed-off-by: Paul Elliott <paul.elliott@arm.com>
diff --git a/tests/Makefile b/tests/Makefile index bcc3b93..72429a6 100644 --- a/tests/Makefile +++ b/tests/Makefile
@@ -57,8 +57,11 @@ DLEXT ?= so EXEXT= SHARED_SUFFIX= + +ifdef PTHREAD LOCAL_LDFLAGS += -lpthread endif +endif ifdef WINDOWS PYTHON ?= python