1999-03-26 Mark Kettenis <kettenis@gnu.org>
authorRoland McGrath <roland@gnu.org>
Fri, 26 Mar 1999 08:33:42 +0000 (08:33 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 26 Mar 1999 08:33:42 +0000 (08:33 +0000)
* sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
if we build the profiled library.

sysdeps/mach/hurd/Makefile

index ec466e3..9ad681d 100644 (file)
@@ -106,10 +106,13 @@ common-generated += errnos.d stamp-errnos
 libc-name = crt
 
 ifeq (,$(subdir))
-install-others += $(inst_libdir)/libc.a $(inst_libdir)/libc_p.a
+install-others += $(inst_libdir)/libc.a
 $(inst_libdir)/libc.a: $(hurd)/libc-ldscript $(+force); $(do-install)
+ifeq (yes,$(build-profile))
+install-others += $(inst_libdir)/libc_p.a
 $(inst_libdir)/libc_p.a: $(hurd)/libc_p-ldscript $(+force); $(do-install)
 endif
+endif
 
 # Make sure these are used to build the libc.so shared object too.  There
 # is a circular dependency between each of these shared objects and libc