From 80e7510b59d85f1c0728bb9ff80e823973e5b54b Mon Sep 17 00:00:00 2001
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Date: Fri, 11 Jul 2008 16:45:19 +0000
Subject: - do not test pthread if threads are not available

---
 test/Makefile | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'test')

diff --git a/test/Makefile b/test/Makefile
index 54eeeb6a3..c9d152477 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -35,6 +35,9 @@ endif
 ifeq ($(UCLIBC_HAS_CRYPT_STUB),y)
 	DIRS := $(filter-out crypt,$(DIRS))
 endif
+ifeq ($(HAS_NO_THREADS),y)
+	DIRS := $(filter-out pthread,$(DIRS))
+endif
 DIRS := $(filter-out math,$(DIRS))
 
 
-- 
cgit v1.2.3