about summary refs log tree commit diff
path: root/elf/tst-linkall-static.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-linkall-static.c')
-rw-r--r--elf/tst-linkall-static.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/tst-linkall-static.c b/elf/tst-linkall-static.c
index 7a4aaccf58..cc77f0788e 100644
--- a/elf/tst-linkall-static.c
+++ b/elf/tst-linkall-static.c
@@ -32,7 +32,9 @@ void *references[] =
   {
     &pow,                       /* libm */
     &pthread_create,            /* libpthread */
+#if USE_CRYPT
     &crypt,                     /* libcrypt */
+#endif
     &res_send,                  /* libresolv */
     &dlopen,                    /* libdl */
     &login,                     /* libutil */