Patch for crypt/Makefile
Andreas Jaeger
aj@suse.de
Thu Jul 6 01:10:00 GMT 2000
Running make check with a static only library I got:
gcc: /var/home/aj/builds/glibc/20000705-static/libcrypt.a: No such file or directory
make[2]: *** [/var/home/aj/builds/glibc/20000705-static/crypt/cert] Error 1
make[2]: Leaving directory `/var/home/aj/cvs/libc/crypt'
make[1]: *** [crypt/tests] Error 2
Here's a patch which I've tested with static and shared libs. Ok to
commit?
Andreas
2000-07-06 Andreas Jaeger <aj@suse.de>
* crypt/Makefile (LDLIBS-cert): Removed.
(LDLIBS-md5c-test): Removed.
($(objpfx)cert): Renamed from cert.out to fix dependencies.
($(objpfx)md5c-test): Likewise for md5c-test.out.
============================================================
Index: crypt/Makefile
--- crypt/Makefile 2000/07/04 08:49:38 1.5
+++ crypt/Makefile 2000/07/06 07:57:51
@@ -45,17 +45,15 @@
include ../Rules
-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: $(libcrypt-dep)
+$(objpfx)md5c-test: $(libcrypt-dep)
-$(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
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
More information about the Libc-hacker
mailing list