summaryrefslogtreecommitdiff
path: root/crypt/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-04 18:24:11 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-04 18:24:11 +0000
commit3248e3a326e04320d0fdecba70be17d4f13bfb27 (patch)
tree3f9337c369fa74bc8f603cd715b53c0f42764f88 /crypt/Makefile
parent83b1b6d8faca6d279867c1c76f75e89786b76f4f (diff)
Update.
2000-07-04 Ulrich Drepper <drepper@redhat.com> * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt are not aligned to alignof(md5_uint32) do it before calling __md5_process_bytes. * crypt/md5.c: Make sure buffers are aligned. * crypt/md5.h: Likewise. Reported by Solar Designer <solar@false.com>. * crypt/Makefile: Add dependencies for test programs. * Rules: Define LC_ALL=C in environments of all programs we run. * intl/tst-gettext.sh (LC_ALL): Define to C and export. 2000-07-03 H.J. Lu <hjl@gnu.org> * locale/programs/ld-ctype.c (ctype_output): The size of iov is 2 + elem + offset, not 2 + elem + offset + 2. 2000-07-04 Ulrich Drepper <drepper@redhat.com> * posix/fnmatch_loop.c: Fix two problems uncovered by the new test suite. * posix/Makefile (tests): Add tst-fnmatch. (tst-fnmatch-ENV): Define. * posix/tst-fnmatch.c: New file. * posix/tst-fnmatch.sh: New file.
Diffstat (limited to 'crypt/Makefile')
-rw-r--r--crypt/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/crypt/Makefile b/crypt/Makefile
index 055b76d43a..0692c2647c 100644
--- a/crypt/Makefile
+++ b/crypt/Makefile
@@ -45,8 +45,17 @@ $(objpfx)md5test: $(objpfx)md5.o
include ../Rules
-LDLIBS-cert = crypt/libcrypt
-LDLIBS-md5c-test = crypt/libcrypt
+LDLIBS-cert = libcrypt
+LDLIBS-md5c-test = libcrypt
+
+ifeq (yes,$(build-shared))
+libcrypt-dep = $(objpfx)libcrypt.so
+else
+libcrypt-dep = $(objpfx)libcrypt.a
+endif
+
+$(objpfx)cert.out: $(libcrypt-dep)
+$(objpfx)md5c-test.out: $(libcrypt-dep)
# Depend on libc.so so a DT_NEEDED is generated in the shared objects.
# This ensures they will load libc.so for needed symbols if loaded by