This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch for crypt/Makefile



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]