Subject: re: libexec/ld.elf_so vs. MKPICINSTALL=no
To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
From: matthew green <mrg@eterna.com.au>
List: tech-toolchain
Date: 02/22/2003 18:49:29
   

this seems the right change to me.


.mrg.

   
   My make(1) clue is not enough to figure what's the right way to deal
   with it.  Does the following patch to libexec/ld.elf_so/Makefile looks
   correct?
   
   Index: Makefile
   ===================================================================
   RCS file: /cvsroot/src/libexec/ld.elf_so/Makefile,v
   retrieving revision 1.59
   diff -u -r1.59 Makefile
   --- Makefile	2002/10/05 15:52:15	1.59
   +++ Makefile	2003/02/22 05:22:16
   @@ -50,11 +50,10 @@
    .endif
    
    LDADD+=	-L${CLIBOBJ} -L${DESTDIR}${LIBDIR} -non_shared -lc_pic
   -DPADD+=	${CLIBOBJ}/libc_pic.a ${LIBC_PIC}
   -
   -# One of these may not exist at link time, so avoid make errors.
   -${DPADD}:
   -	@true
   +.if ${MKPICINSTALL} != "no" 
   +DPADD+=	${LIBC_PIC}
   +.endif
   +DPADD+=	${CLIBOBJ}/libc_pic.a
    
    STRIPFLAG=