From 3ec57a9f7e1bb776de6e2fc9f95589ac9fd9dc57 Mon Sep 17 00:00:00 2001
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Date: Mon, 23 Feb 2009 10:50:49 +0000
Subject: - disable libcrypt tests if we have no libcrypt

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

(limited to 'test')

diff --git a/test/crypt/Makefile b/test/crypt/Makefile
index 11d420d9e..7ba1cfcfc 100644
--- a/test/crypt/Makefile
+++ b/test/crypt/Makefile
@@ -1,6 +1,12 @@
 # uClibc crypt tests
 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 
+include ../../.config
+
+ifneq ($(UCLIBC_HAS_CRYPT),y)
+TESTS_DISABLED := $(patsubst %.c,%,$(wildcard *.c))
+endif
+
 include ../Test.mak
 
 EXTRA_LDFLAGS := -lcrypt
-- 
cgit v1.2.3