summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/crypt/Makefile6
1 files changed, 6 insertions, 0 deletions
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